From: Frank Brehm Date: Thu, 19 Apr 2018 12:48:41 +0000 (+0200) Subject: Extending executed shell script X-Git-Tag: 0.1.1~17 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=f7ad2331f9d2016435739b756e217fa5d4c9aa97;p=pixelpark%2Fcreate-vmware-tpl.git Extending executed shell script --- diff --git a/create_vmware_template.groovy b/create_vmware_template.groovy index 7ce0fb4..401c6ca 100644 --- a/create_vmware_template.groovy +++ b/create_vmware_template.groovy @@ -9,15 +9,42 @@ def emailReceivers = 'frank.brehm@pixelpark.com' 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 '''