diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-10-10 11:26:51 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-10-10 11:31:05 +0200 |
commit | d5abc28161a9f724968207c6698a28f9fe61f04e (patch) | |
tree | 1cef47cc43fbfe82a80a1c31af623653808bf940 /jjb/fuel/fuel-build-exp.sh | |
parent | 56d2e9a30ceb114678428152e4b54fb52c398ebe (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-build-exp.sh')
-rwxr-xr-x | jjb/fuel/fuel-build-exp.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-build-exp.sh b/jjb/fuel/fuel-build-exp.sh new file mode 100755 index 000000000..f7f613dc0 --- /dev/null +++ b/jjb/fuel/fuel-build-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!" |