Skip to content

Commit

Permalink
Merge pull request #3157 from gleidi-suse/fix_auto_freeze
Browse files Browse the repository at this point in the history
gocd: slfo-stagings: Fix syntax error.
  • Loading branch information
gleidi-suse committed Sep 6, 2024
2 parents f4cbf0b + e886285 commit 9054fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gocd/slfo-stagings.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipelines:
cd scripts/gocd
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
echo $SLFO_RING_1_PROJECT status: "${status}"
if [ printf '%s' "${status}" | grep -q finished ]; then
if printf '%s' "${status}" | grep -q finished; then
exit 0
else
exit 1
Expand Down
2 changes: 1 addition & 1 deletion gocd/slfo-stagings.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pipelines:
cd scripts/gocd
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
echo $SLFO_RING_1_PROJECT status: "${status}"
if [ printf '%s' "${status}" | grep -q finished ]; then
if printf '%s' "${status}" | grep -q finished; then
exit 0
else
exit 1
Expand Down

0 comments on commit 9054fef

Please sign in to comment.