Jim Rush
Jim Rush

Reputation: 4163

When does jenkins read config.xml?

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?

Upvotes: 3

Views: 2915

Answers (1)

gareth_bowles
gareth_bowles

Reputation: 21130

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.

Upvotes: 4

Related Questions