X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Finclude-raw-jjb-update.sh;h=0aa0c669a9f9f64de7de4eedb5276b83f7e585ff;hb=202b375fcea28e2cd234f41cf54e5277244ecce8;hp=517a48a9a4f708ba7e021e946e1b26fc83650179;hpb=43acaafcc8765f2904bf48906af54c15e82b9cfb;p=releng%2Fbuilder.git diff --git a/jjb/include-raw-jjb-update.sh b/jjb/include-raw-jjb-update.sh index 517a48a9a..0aa0c669a 100644 --- a/jjb/include-raw-jjb-update.sh +++ b/jjb/include-raw-jjb-update.sh @@ -1,5 +1,5 @@ source /opt/virtualenv/jenkins-job-builder/bin/activate -jenkins-jobs update jjb/ +jenkins-jobs update --delete-old jjb/ # Submit patches for any jobs that can be auto updated function submitJJB { @@ -9,4 +9,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