summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-11 08:10:24 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-11-11 08:10:24 +0100
commitd90f11b4832ddeaeae25668113ac2d5ac3692c2a (patch)
tree3ba178c998ef87b2bb230376badd173d9c9d1d01 /jjb/functest
parent29d3e36d19fe4fe1314ade8c66a0b1377d189701 (diff)
Colorado bug fix: ci path did not change
After refactoring of the repo structure we add to adapt the path in releng but this change is only valid for Danube and after old pathes must be kept for colorado JIRA: FUNCTEST-525 Change-Id: I4cf5951111dbb9cb3d7a002c24efe1167e994222 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'jjb/functest')
-rwxr-xr-xjjb/functest/functest-loop.sh2
-rwxr-xr-xjjb/functest/functest-suite.sh2
-rwxr-xr-xjjb/functest/set-functest-env.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/jjb/functest/functest-loop.sh b/jjb/functest/functest-loop.sh
index ab97c3579..4528c00d1 100755
--- a/jjb/functest/functest-loop.sh
+++ b/jjb/functest/functest-loop.sh
@@ -5,6 +5,8 @@ branch=${GIT_BRANCH##*/}
[[ "$PUSH_RESULTS_TO_DB" == "true" ]] && flags+="-r"
if [[ ${branch} == *"brahmaputra"* ]]; then
cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh -s ${flags}"
+elif [[ ${branch} == *"colorado"* ]]; then
+ cmd="python ${FUNCTEST_REPO_DIR}/ci/run_tests.py -t all ${flags}"
else
cmd="python ${FUNCTEST_REPO_DIR}/functest/ci/run_tests.py -t all ${flags}"
fi
diff --git a/jjb/functest/functest-suite.sh b/jjb/functest/functest-suite.sh
index d007c048d..df286569f 100755
--- a/jjb/functest/functest-suite.sh
+++ b/jjb/functest/functest-suite.sh
@@ -5,6 +5,8 @@ branch=${GIT_BRANCH##*/}
echo "Functest: run $FUNCTEST_SUITE_NAME on branch ${branch}"
if [[ ${branch} == *"brahmaputra"* ]]; then
cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh --test $FUNCTEST_SUITE_NAME"
+elif [[ ${branch} == *"colorado"* ]]; then
+ cmd="python ${FUNCTEST_REPO_DIR}/ci/run_tests.py -t $FUNCTEST_SUITE_NAME"
else
cmd="python ${FUNCTEST_REPO_DIR}/functest/ci/run_tests.py -t $FUNCTEST_SUITE_NAME"
fi
diff --git a/jjb/functest/set-functest-env.sh b/jjb/functest/set-functest-env.sh
index bbd4a889c..bc30ffaf3 100755
--- a/jjb/functest/set-functest-env.sh
+++ b/jjb/functest/set-functest-env.sh
@@ -82,6 +82,8 @@ if [ $(docker ps | grep "opnfv/functest:${DOCKER_TAG}" | wc -l) == 0 ]; then
fi
if [[ ${branch} == *"brahmaputra"* ]]; then
cmd="${FUNCTEST_REPO_DIR}/docker/prepare_env.sh"
+elif [[ ${branch} == *"colorado"* ]]; then
+ cmd="python ${FUNCTEST_REPO_DIR}/ci/prepare_env.py start"
else
cmd="python ${FUNCTEST_REPO_DIR}/functest/ci/prepare_env.py start"
fi