You could look at using the reload-job command in Jenkins CLI (documentation: https://jenkins.io/doc/book/managing/cli/). Or similarly, use the update-job command to read the updated job configuration from standard input and use it to update the job, which automatically includes refreshing the job.

On 2/28/2019 1:18 PM, Matthias Apitz wrote:
Hello,

I've setup a Jenkins server on SuSE Linux SLES12 and have the jobs in:

$ ls -l /var/lib/jenkins/jobs/
total 12
drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 00:00 Jerome_Head
drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 01:00 Statistic-Installation-Job-V7.0
drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 01:00 TPv70-nightly-build
...
$ ls -l /var/lib/jenkins/jobs/TPv70-nightly-build/config.xml
-rw-r--r-- 1 jenkins jenkins 3162 Feb 27 11:40 
/var/lib/jenkins/jobs/TPv70-nightly-build/config.xml

I'd like to edit the jobs with the normal editor in Linux, esp. the
sometimes complex build step script written in shell or perl, and have all
this, at least the config.xml file of each of my 50 jobs, under SVN version 
control.

After modifying any jobs config.xml, the Jenkins server process must be
restarted to get the changes in effect (and visible in the browser
interface). Is there any other way to inform Jenkings about the change
and let it reload the modified job config?

Thanks

        matthias



--
Eric Pyle
Siemens PLM Software
Lebanon, NH
+1 603-277-3060
eric.p...@siemens.com
http://www.siemens.com/plm

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/017e14d8-a208-d6e3-7de0-8213d98b1c27%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to