When does jenkins read config.xml?

We want to swap the changes and would like to avoid restarting Jenkins. The changes we need to make are not very suitable for parameterized assemblies.

Related question: If the change is not automatically detected, or at least re-read when starting the build, is there a way to get the file to be re-read without reloading the process?

+3


source to share


1 answer


Assuming you mean the config.xml file to specify the build:

If you change the job configuration through the Jenkins UI, the updates will be applied immediately after the job is created.



If you edit it directly on the filesystem, you will need to use the Jenkins CLI or direct POST request.

+4


source







All Articles