Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #822 from GabyCT/topic/addcifix
Browse files Browse the repository at this point in the history
obs: Failed when we have unresolvable packages
  • Loading branch information
Julio Montes committed Nov 22, 2019
2 parents a878afb + 5956065 commit 0b3f5c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions obs-packaging/wait-obs.sh
Expand Up @@ -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
Expand Down

0 comments on commit 0b3f5c7

Please sign in to comment.