From 751002f537007f35a536959e4180ce7c48e18bf1 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 29 Jul 2018 22:36:06 +0200 Subject: Select the right Functest repos when master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Else OpenStack Rocky is verified by Queens upper-contraints. Change-Id: I5bfcb4895e64ab911c1131e8bfeb09eac2775754 Signed-off-by: Cédric Ollivier --- jjb/apex/apex.yaml.j2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'jjb/apex/apex.yaml.j2') diff --git a/jjb/apex/apex.yaml.j2 b/jjb/apex/apex.yaml.j2 index 34594ccf0..1aa4e5c30 100644 --- a/jjb/apex/apex.yaml.j2 +++ b/jjb/apex/apex.yaml.j2 @@ -416,6 +416,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') @@ -424,9 +429,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' @@ -1115,4 +1120,3 @@ name: 'apex-danube' triggers: - timed: '0 3 1 1 7' - -- cgit 1.2.3-korg