diff options
author | Varac <varac@leap.se> | 2017-06-29 16:51:58 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-06-30 17:34:08 +0200 |
commit | 1bcd200ec20a28a1c360afdf097dc4fcaa9c00a8 (patch) | |
tree | 1ceeb0ebee4b662c50d2587b70681f4621e53cf2 /tests/platform-ci/ci-build.sh | |
parent | 6e7b18f8732e79957aaa2e536b368aef8a9d6ab9 (diff) |
[CI] Fail when CI_JOB_NAME is not recognized
Diffstat (limited to 'tests/platform-ci/ci-build.sh')
-rwxr-xr-x | tests/platform-ci/ci-build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh index abc5fec8..b02fe89d 100755 --- a/tests/platform-ci/ci-build.sh +++ b/tests/platform-ci/ci-build.sh @@ -178,10 +178,13 @@ case "$CI_JOB_NAME" in TAG='demovpn' run bitmask ssh://gitolite@leap.se/bitmask ;; - *) + deploy_test*) build_from_scratch deploy test cleanup ;; + *) + fail "Don't know what to do for \$CI_JOB_NAME \"$CI_JOB_NAME\"!" + ;; esac |