Install githooks to automatically add Change-Id
[releng/builder.git] / jjb / include-raw-jjb-update.sh
1 source /opt/virtualenv/jenkins-job-builder/bin/activate
2 jenkins-jobs update jjb/
3
4 # Submit patches for any jobs that can be auto updated
5 gitdir=$(git rev-parse --git-dir); scp -p -P 29418 jenkins-releng@git.opendaylight.org:hooks/commit-msg ${gitdir}/hooks/
6 python scripts/jjb-autoupdate-project.py
7 git commit -asm "Update automated project templates"
8 git push origin HEAD:refs/for/master