diff options
author | Tim Rozet <trozet@redhat.com> | 2018-07-30 21:41:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-30 21:41:35 +0000 |
commit | a00d94e18f211f7d90280961decd91cf1632c448 (patch) | |
tree | b76411b927c9850db6366db7e39ac45a09cb4a9e /jjb/apex/apex.yaml | |
parent | 1552a769f7f45213d8a926418b9830d8f15b2b03 (diff) | |
parent | 751002f537007f35a536959e4180ce7c48e18bf1 (diff) |
Merge "Select the right Functest repos when master"
Diffstat (limited to 'jjb/apex/apex.yaml')
-rw-r--r-- | jjb/apex/apex.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jjb/apex/apex.yaml b/jjb/apex/apex.yaml index b278419b8..84e29e95f 100644 --- a/jjb/apex/apex.yaml +++ b/jjb/apex/apex.yaml @@ -546,6 +546,11 @@ abort-all-job: true git-revision: false - shell: | + if echo $DEPLOY_SCENARIO | grep queens &> /dev/null; then + echo 'REPO=opnfv' > functest_properties + else + echo 'REPO=ollivier' > functest_properties + fi features=$(echo $DEPLOY_SCENARIO | sed -r -n 's/os-.+-(.+)-(noha|ha)/\1/p') if [ "$features" == 'queens' ]; then functest_scenario=$(echo $DEPLOY_SCENARIO | sed -r -n 's/(os-.+?)-queens-(noha|ha)/\1-nofeature-\2/p') @@ -554,9 +559,9 @@ else functest_scenario=$DEPLOY_SCENARIO fi - echo "DEPLOY_SCENARIO=$functest_scenario" > functest_scenario + echo "DEPLOY_SCENARIO=$functest_scenario" >> functest_properties - inject: - properties-file: functest_scenario + properties-file: functest_properties override-build-parameters: true - multijob: name: 'OPNFV Test Suite' |