From f976f5e87fe0058f85bbc6dee3b3cad800893756 Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Thu, 14 Apr 2016 02:46:42 -0400 Subject: Bottlenecks: bugfix for run_test script path Change-Id: I8cdbdaa34b2619edd4345efb53a5990b3515ed3c Signed-off-by: MatthewLi --- jjb/bottlenecks/bottlenecks-ci-jobs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'jjb/bottlenecks') 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 @@ -86,6 +86,10 @@ - '{pod}-defaults' - '{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' @@ -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} -- cgit 1.2.3-korg