Rework the way Java version is set in CSIT jobs
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
index 9692cdc3316faf1502f67b2c0b5fecd40feee740..778a70e9119b25e6f32863041f5fe692a3b6af1c 100644 (file)
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-virtualenv $WORKSPACE/venv-robotframework
-source $WORKSPACE/venv-robotframework/bin/activate
-pip install -q docker-py importlib requests scapy
-pip install -q robotframework{,-{httplibrary,requests,sshlibrary}}
+ROBOT_VENV=`mktemp -d --suffix=robot_venv`
+echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
+
+virtualenv ${ROBOT_VENV}
+source ${ROBOT_VENV}/bin/activate
+pip install -q --upgrade pip
+pip --version
+pip install -q docker-py importlib requests scapy netifaces netaddr ipaddr
+pip install -q robotframework{,-{httplibrary,requests,sshlibrary,selenium2library}}
+
+# jsonpath is needed by current AAA idmlite suite
+pip install -q jsonpath-rw
+
+# print installed versions
+pip freeze
 
 # vim: sw=4 ts=4 sts=4 et ft=sh :