Reputation: 31
I have edited the config.xml file within the jobs directory on the Jenkins system:
$JENKINS_HOME/jobs/myjob/config.xml.
I expect the changes to be reflected on the Jenkins UI when I go to configure on the job page: https://my-jenkins-system/job/myjob/configure
But this does not happen. It works the other way around, i.e if i edit in UI, I see the changes in config.xml.
Is the one displayed on UI a cached file? or Am I doing something wrong or is my understanding wrong?
Upvotes: 3
Views: 2370
Reputation: 2065
After modifying the data in config.xml
you need to select the below option
Jenkins --> Manage Jenkins --> Reload Configuration from Disk
in your Jenkins to see the changes in UI.
Upvotes: 6