Merge "xci: Enable verification of changes coming to prototypes folder"
authorMarkos Chandras <mchandras@suse.de>
Mon, 21 May 2018 09:51:35 +0000 (09:51 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 21 May 2018 09:51:35 +0000 (09:51 +0000)
jjb/global-jjb
jjb/releng/opnfv-docker.sh

index 1493b95..9b24045 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 1493b95e0d80860a9d8aef83e22ee49d5988ad96
+Subproject commit 9b240453b91f3c4b0844ea1c593721a1c421caa2
index c89938b..70baf16 100644 (file)
@@ -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