diff --git a/modules/openstack_project/files/slave_scripts/propose_update.sh b/modules/openstack_project/files/slave_scripts/propose_update.sh index aa5c938c48..c8ff6a7faf 100755 --- a/modules/openstack_project/files/slave_scripts/propose_update.sh +++ b/modules/openstack_project/files/slave_scripts/propose_update.sh @@ -90,11 +90,20 @@ EOF continue fi + # Don't short circuit when one project fails to sync. + set +e if [ "$OWN_PROJECT" == "requirements" ] ; then python update.py $PROJECT_DIR else bash -xe tools/sync-projects.sh $PROJECT_DIR fi + RET=$? + set -e + if [ "$RET" -ne "0" ] ; then + ALL_SUCCESS=1 + echo "Error in syncing: Ignoring $PROJECT" + continue + fi pushd $PROJECT_DIR if ! git diff --stat --exit-code HEAD ; then