[CI] Fail when CI_JOB_NAME is not recognized
authorVarac <varac@leap.se>
Thu, 29 Jun 2017 14:51:58 +0000 (16:51 +0200)
committerVarac <varac@leap.se>
Fri, 30 Jun 2017 15:34:08 +0000 (17:34 +0200)
tests/platform-ci/ci-build.sh

index abc5fec..b02fe89 100755 (executable)
@@ -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