summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh6
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."
#