jenkinsci / docker-agent

Jenkins agent (base image) and inbound agent Docker images
https://hub.docker.com/r/jenkins/inbound-agent/
MIT License
282 stars 232 forks source link

Introduce `REMOTING_OPTS` to pass arbitrary options to remoting on startup via an environment variable #809

Closed Vlatombe closed 5 months ago

Vlatombe commented 5 months ago

https://github.com/jenkinsci/docker-agent/pull/802#issuecomment-2098889201

This deprecates existing environment variables allowing to set options to agent.jar. Going forward, this will ease addition or removal of options to agent.jar without impacting these launcher scripts.

Testing done

### Submitter checklist
- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
jglick commented 5 months ago

@lemeurherve ?