projects
/
leap_platform.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7b18f
)
[CI] Fail when CI_JOB_NAME is not recognized
author
Varac
<varac@leap.se>
Thu, 29 Jun 2017 14:51:58 +0000
(16:51 +0200)
committer
Varac
<varac@leap.se>
Fri, 30 Jun 2017 15:34:08 +0000
(17:34 +0200)
tests/platform-ci/ci-build.sh
patch
|
blob
|
history
diff --git
a/tests/platform-ci/ci-build.sh
b/tests/platform-ci/ci-build.sh
index
abc5fec
..
b02fe89
100755
(executable)
--- 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