Merge pull request #837 from GabyCT/topic/addbroken

obs: Check for broken packages
This commit is contained in:
Salvador Fuentes 2019-12-03 11:23:48 -06:00 committed by GitHub
commit 8e23f2c114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,10 @@ wait_finish_building() {
osc pr
exit 1
fi
if echo "${out}" | grep '<details>broken</details>'; then
echo "Project ${project} has broken packages"
exit 1
fi
if echo "${out}" | grep 'code="blocked"'; then
echo "Project ${project} has blocked packages, waiting"
continue