-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 {
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