Merge "Fix dlrn build role"

This commit is contained in:
Jenkins 2016-11-28 17:53:56 +00:00 committed by Gerrit Code Review
commit c231a1c823
1 changed files with 3 additions and 3 deletions

View File

@ -35,10 +35,10 @@
- name: Run DLRN
shell: >
set +e
set +e;
source {{ ansible_user_dir }}/dlrn-venv/bin/activate;
while true; do
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev;
if [ $? -eq 0 ]; then
# SUCCESS
break;
@ -48,7 +48,7 @@
elif [ $? -eq 2 ]; then
# RETRY
continue;
fi
fi;
# Unexpected DLRN return code
exit $?;
done;