From: kaihlavi Date: Tue, 27 Aug 2019 08:30:51 +0000 (+0300) Subject: Run prepare-csit.sh every time X-Git-Tag: 6.0.0-ONAP~175 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9f5700f414de342739ca3bed80ae882f5ec3a2f9;p=integration%2Fcsit.git Run prepare-csit.sh every time Preparation steps need to be executed every time for Jenkins as they do not have all the required libraries preinstalled This is a quick fix for a problem introduced in https://gerrit.onap.org/r/#/c/integration/csit/+/93698/ A more proper correction requires refactoring and aligning prerequirements for local executions and Jenkins and needs analysis and design to be done in future releases Issue-ID: TEST-197 Signed-off-by: kaihlavi Change-Id: If15935097d2b90b9d49062429194ca7d7a0e4d3d --- diff --git a/run-csit.sh b/run-csit.sh index 043292ca..e7457adc 100755 --- a/run-csit.sh +++ b/run-csit.sh @@ -67,13 +67,8 @@ export TESTOPTIONS="${2}" TESTPLANDIR=${WORKSPACE}/${TESTPLAN} -# Assume that if env.properties is set, installation prerequirements are fulfilled -# env.properties needs to be sourced for ROBOT_VENV -if [ -f ${WORKSPACE}/env.properties ]; then - source ${WORKSPACE}/env.properties -else - source ${WORKSPACE}/prepare-csit.sh -fi +# Run installation of prerequired libraries +source ${WORKSPACE}/prepare-csit.sh # Activate the virtualenv containing all the required libraries installed by prepare-csit.sh source "${ROBOT_VENV}/bin/activate"