summaryrefslogtreecommitdiffstats
path: root/jjb/bottlenecks/bottlenecks-ci-jobs.yml
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-14 02:46:42 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-04-14 02:46:42 -0400
commitf976f5e87fe0058f85bbc6dee3b3cad800893756 (patch)
treeb08b5b69b8dc552880e57d255c715739a87a113d /jjb/bottlenecks/bottlenecks-ci-jobs.yml
parent1dcd719e55fc3fb17ff90672e17b50b725e108f3 (diff)
Bottlenecks: bugfix for run_test script path
Change-Id: I8cdbdaa34b2619edd4345efb53a5990b3515ed3c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/bottlenecks/bottlenecks-ci-jobs.yml')
-rw-r--r--jjb/bottlenecks/bottlenecks-ci-jobs.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/bottlenecks/bottlenecks-ci-jobs.yml b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
index 415cdf380..bfc8c131e 100644
--- a/jjb/bottlenecks/bottlenecks-ci-jobs.yml
+++ b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
@@ -87,6 +87,10 @@
- '{installer}-defaults'
- 'bottlenecks-params-{pod}'
- string:
+ name: REPO_DIR
+ default: "/home/opnfv/bottlenecks"
+ description: "Directory where the repository is cloned"
+ - string:
name: DEPLOY_SCENARIO
default: 'os-odl_l2-nofeature-ha'
- string:
@@ -169,7 +173,7 @@
-e NODE_NAME=${NODE_NAME} -e EXTERNAL_NET=${EXTERNAL_NETWORK} \
-e BOTTLENECKS_BRANCH=${BOTTLENECKS_BRANCH} -e GERRIT_REFSPEC_DEBUG=${GERRIT_REFSPEC_DEBUG} \
-e BOTTLENECKS_DB_TARGET=${BOTTLENECKS_DB_TARGET} -e PACKAGE_URL=${PACKAGE_URL}"
- run_testsuite="run_tests.sh -s ${SUITE_NAME}"
+ run_testsuite="${REPO_DIR}/run_tests.sh -s ${SUITE_NAME}"
cmd="sudo docker run ${opts} ${envs} opnfv/bottlenecks ${run_testsuite} >${redirect}"
echo "Bottlenecks: docker cmd running: ${cmd}"
${cmd}