summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-smoke-test-exp.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-10-10 11:26:51 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-10-10 11:31:05 +0200
commitd5abc28161a9f724968207c6698a28f9fe61f04e (patch)
tree1cef47cc43fbfe82a80a1c31af623653808bf940 /jjb/fuel/fuel-smoke-test-exp.sh
parent56d2e9a30ceb114678428152e4b54fb52c398ebe (diff)
fuel: Proposal for specifying scenario name in commit message
Please take a look at fuel-basic-exp.sh for the proposal. Apart from scenario name input proposal, jobs and script templatest have been created as well. Change-Id: I53b74b2e1ed34acb1f54b7ab21823227fff86d10 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-smoke-test-exp.sh')
-rwxr-xr-xjjb/fuel/fuel-smoke-test-exp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-smoke-test-exp.sh b/jjb/fuel/fuel-smoke-test-exp.sh
new file mode 100755
index 000000000..f7f613dc0
--- /dev/null
+++ b/jjb/fuel/fuel-smoke-test-exp.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [[ "$JOB_NAME" =~ (verify|merge|daily|weekly) ]]; then
+ JOB_TYPE=${BASH_REMATCH[0]}
+else
+ echo "Unable to determine job type!"
+ exit 1
+fi
+
+echo "Not activated!"