diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-10-05 23:56:14 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-10-06 00:08:01 +0200 |
commit | 6574f2f12c6c9ed8b97e7727509f2ee21ccee1a4 (patch) | |
tree | 66fe8ebf91dbe4497c072ed6412dc066f1f6d7af /jjb/fuel/fuel-plugin-test.sh | |
parent | a366d65ccaca3c1aa8fdc9e396d708b623dda014 (diff) |
fuel: Specify upstream/opnfv branches separately and use include scripts
Due to having this experimental, it is needed to set different branches
for upstream and opnfv until the things settle.
Apart from this, the builders also converted to scripts so we don't need
to touch the job yml if scripts need updates.
Change-Id: I65a334bd6f51b558eb6ce69b15bb18405ef28049
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-plugin-test.sh')
-rwxr-xr-x | jjb/fuel/fuel-plugin-test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-plugin-test.sh b/jjb/fuel/fuel-plugin-test.sh new file mode 100755 index 000000000..f7f613dc0 --- /dev/null +++ b/jjb/fuel/fuel-plugin-test.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!" |