Merge pull request #822 from GabyCT/topic/addcifix

obs: Failed when we have unresolvable packages
This commit is contained in:
Julio Montes 2019-11-22 14:22:03 -06:00 committed by GitHub
commit 0b3f5c7570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,10 @@ wait_finish_building() {
echo "Project ${project} has blocked packages, waiting"
continue
fi
if echo "${out}" | grep 'code="unresolvable"'; then
echo "Project ${project} has unresolvable packages"
exit 1
fi
if echo "${out}" | grep 'state="building"'; then
echo "Project ${project} is still building, waiting"
continue