diff options
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-x | update_jdn.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index dd559eea..7256a586 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -73,8 +73,10 @@ explain "Updated about.html, setup.html and todo.html." # run jenkins-job-builder to update jobs if needed # (using sudo because /etc/jenkins_jobs is root:root 700) # -cd /srv/jenkins/job-cfg -sudo jenkins-jobs update . +cd /srv/jenkins/job-cfg +for config in *.yaml ; do + sudo jenkins-jobs update $config +done explain "Jenkins jobs updated." # |