STEPS = '''#!/bin/bash
+echo
+echo "---------------------------------------------------"
+echo "Aktuelles Arvbeitsverzeichnis: '$( pwd )'"
+echo "Workspace: '${WORKSPACE}'"
+echo "Git URL / Branch: '${GIT_URL}' / '${GIT_BRANCH}'"
+echo "Git Committer: '${GIT_COMMITTER_NAME}' <${GIT_COMMITTER_EMAIL}>"
+echo "Git Autor: '${GIT_AUTHOR_NAME}' <${GIT_AUTHOR_EMAIL}>"
+echo
+echo "Build-Nummer: ${BUILD_NUMBER}"
+echo "Build ID: ${BUILD_ID}"
+echo
+
+echo "---------------------------------------------------"
+echo "Preparing virtual environment ..."
+echo
if [[ ! -f venv/bin/activate ]] ; then
virtualenv-3 venv
fi
. venv/bin/activate
+echo
+echo "---------------------------------------------------"
+echo "Installing and/or upgrading necessary modules ..."
+echo
pip install --upgrade --requirement requirements.txt
+echo
+echo "---------------------------------------------------"
+echo "Installed modules:"
+echo
pip list --format columns
+echo
+echo "---------------------------------------------------"
+echo "Executing ..."
+echo
bin/create-vmware-template --help
'''