Change-Id: I4dbc21e4c9d4f3617bece4bbfb9f22877b631854
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+source /opt/virtualenv/jenkins-job-builder/bin/activate
+jenkins-jobs update jjb/
+
+# Submit patches for any jobs that can be auto updated
+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 commit -asm "Update automated project templates"
+git push origin HEAD:refs/for/master
pattern: jjb/**
builders:
- - shell: |
- source /opt/virtualenv/jenkins-job-builder/bin/activate
- jenkins-jobs update jjb/
-
- # Submit patches for any jobs that can be auto updated
- python scripts/jjb-autoupdate-project.py
- git commit -asm "Update automated project templates"
- git push origin HEAD:refs/for/master
+ - shell:
+ !include-raw-escape include-raw-jjb-update.sh
publishers:
- email-notification: