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 <l.kaihlavirt@partner.samsung.com>
Change-Id: If15935097d2b90b9d49062429194ca7d7a0e4d3d
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"