Change-Id: I3a73fb33e9c51fa90303e4f5426436099ec48f2d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
+++ /dev/null
-jenkins-jobs update --recursive --delete-old --workers 4 jjb/
-
-# Submit patches for any jobs that can be auto updated
-function submitJJB {
- git commit -asm "Update automated project templates"
- git push origin HEAD:refs/for/master
-}
-
-gitdir=$(git rev-parse --git-dir); scp -p -P 29418 jenkins-releng@git.opendaylight.org:hooks/commit-msg ${gitdir}/hooks/
-python scripts/jjb-autoupdate-project.py
-git diff --exit-code || submitJJB
pattern: jjb-templates/**
builders:
- - shell:
- !include-raw-escape:
- - include-raw-jjb-update.sh
+ - shell: |
+ jenkins-jobs --version
+ jenkins-jobs update --recursive --delete-old --workers 4 jjb/
publishers:
- email-notification: