Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When does jenkins read config.xml?

Tags:

jenkins

hudson

We want to swap in changes and would like to avoid having to restart Jenkins. The changes we need to make aren't well suited for parameterized builds.

Related question: if the change isn't automatically detected or at least reread when the build is triggered, is there a way to force the file to be reread without a process restart?

like image 412
Jim Rush Avatar asked Jul 12 '26 16:07

Jim Rush


1 Answers

Assuming you mean the config.xml for a build job:

If you edit the job configuration via the Jenkins UI the updates will be applied as soon as the job is built again.

If you edit it directly on the file system you'll need to use the Jenkins CLI or a direct POST request.

like image 104
gareth_bowles Avatar answered Jul 15 '26 12:07

gareth_bowles



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!