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

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