aboutsummaryrefslogtreecommitdiffstats
path: root/csit/prepare-csit.sh
diff options
context:
space:
mode:
authorarkadiusz.adamski <aadamski@est.tech>2021-06-03 16:09:29 +0100
committerarkadiusz.adamski <aadamski@est.tech>2021-06-03 16:09:29 +0100
commit8f44cb7dc7737433324083c0c307bf954d535200 (patch)
treeee4a023ece2cae87b127a648b44fd4335d995ecd /csit/prepare-csit.sh
parent2b1e8d08ed869124e4a363a0c5f58999f487a4be (diff)
Use local version of the include script
- Use local version of the include-raw-integration-install-robotframework.sh script - correct name of pip python module Issue-ID: POLICY-3092 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Iba43621b3c8aebfa715cee91a75fd6832ccbc2be
Diffstat (limited to 'csit/prepare-csit.sh')
-rwxr-xr-xcsit/prepare-csit.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/csit/prepare-csit.sh b/csit/prepare-csit.sh
index d9c6f55c..e154a12b 100755
--- a/csit/prepare-csit.sh
+++ b/csit/prepare-csit.sh
@@ -24,20 +24,15 @@ if [ -z "$WORKSPACE" ]; then
fi
# Assume that if ROBOT_VENV is set and virtualenv with system site packages can be activated,
-# ci-management/jjb/integration/include-raw-integration-install-robotframework.sh has already
-# been executed
+# include-raw-integration-install-robotframework.sh has already been executed
if [ -f ${WORKSPACE}/env.properties ]; then
source ${WORKSPACE}/env.properties
fi
if [ -f ${ROBOT_VENV}/bin/activate ]; then
source ${ROBOT_VENV}/bin/activate
-elif [ ! -d /tmp/ci-management ]; then
- rm -rf /tmp/ci-management
- rm -f ${WORKSPACE}/env.properties
- cd /tmp
- git clone -b master --single-branch https://github.com/onap/ci-management.git
- source /tmp/ci-management/jjb/integration/include-raw-integration-install-robotframework.sh
+else
+ source ./include-raw-integration-install-robotframework.sh
fi