Skip to content

Commit 052b01f

Browse files
authored
Merge pull request #489 from perlpunk/abort-without-image
Abort trigger-openqa_in_openqa when no latest image could be found
2 parents 183f376 + 7d61a7a commit 052b01f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ find_latest_published_tumbleweed_image() {
297297
fi
298298
image=$(get_image "$assetname")
299299

300+
[[ $image == "" ]] && image=null # the result can be empty for other reasons
300301
# This published build has an image available
301302
[[ "$image" != null ]] && break
302303
# Published but no image available, we'll try and continue

0 commit comments

Comments
 (0)