user8239868
user8239868

Reputation: 31

config.xml on system not same as Jenkins UI

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

Answers (1)

Jagan N
Jagan N

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

Related Questions