diff options
m--------- | jjb/global-jjb | 0 | ||||
-rw-r--r-- | jjb/releng/opnfv-docker.sh | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/jjb/global-jjb b/jjb/global-jjb -Subproject 1493b95e0d80860a9d8aef83e22ee49d5988ad9 +Subproject 9b240453b91f3c4b0844ea1c593721a1c421caa diff --git a/jjb/releng/opnfv-docker.sh b/jjb/releng/opnfv-docker.sh index c89938b72..70baf16d9 100644 --- a/jjb/releng/opnfv-docker.sh +++ b/jjb/releng/opnfv-docker.sh @@ -83,7 +83,7 @@ RELEASE_VERSION=${GERRIT_REFNAME/refs\/tags\/} # If we're being triggered by a comment-added job, then extract the tag # from the comment and use that as the release version. # Expected comment format: retag opnfv-x.y.z -if [[ "$GERRIT_EVENT_TYPE" == "comment-added" ]]; then +if [[ "${GERRIT_EVENT_TYPE:-}" == "comment-added" ]]; then RELEASE_VERSION=$(echo "$GERRIT_EVENT_COMMENT_TEXT" | grep 'retag' | awk '{print $2}') fi |