diff options
author | Tim Rozet <trozet@redhat.com> | 2017-02-10 00:01:33 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2017-02-10 00:01:33 -0500 |
commit | 207ad67359916ae71db30bfae3f64d83bfa2fe7b (patch) | |
tree | a86d5e46b64712e76e7d1db8170e55cc1e65573b | |
parent | 03448ce5c7cf231462375ca832d59097fa9634e2 (diff) |
Apex: fixes issue with detecting proper gate scenario
Change-Id: I5aaf203f3db5078e462007c78aa9ff13d102c70c
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-x | jjb/apex/apex-deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 790d2a3aa..b68225f15 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -62,7 +62,7 @@ fi if [ -z "$DEPLOY_SCENARIO" ]; then echo "Deploy scenario not set!" exit 1 -elif [ "$DEPLOY_SCENARIO" == *gate* ]; then +elif [[ "$DEPLOY_SCENARIO" == *gate* ]]; then echo "Detecting Gating scenario..." if [ -z "$GERRIT_EVENT_COMMENT_TEXT" ]; then echo "ERROR: Gate job triggered without comment!" |