X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Finclude-raw-jjb-update.sh;h=84a91cb90b2d41991fe19671ae88234d84a38603;hb=d923faff8b1fc8a645f31076de013326b3117e00;hp=517a48a9a4f708ba7e021e946e1b26fc83650179;hpb=89344bbddd92ad898a1f077cf46961e4b64d1591;p=releng%2Fbuilder.git diff --git a/jjb/include-raw-jjb-update.sh b/jjb/include-raw-jjb-update.sh index 517a48a9a..84a91cb90 100644 --- a/jjb/include-raw-jjb-update.sh +++ b/jjb/include-raw-jjb-update.sh @@ -1,5 +1,4 @@ -source /opt/virtualenv/jenkins-job-builder/bin/activate -jenkins-jobs update jjb/ +jenkins-jobs update --recursive --delete-old jjb/ # Submit patches for any jobs that can be auto updated function submitJJB { @@ -9,4 +8,4 @@ function submitJJB { 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 --quiet --exit-code || submitJJB +git diff --exit-code || submitJJB