]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Extending executed shell script
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 19 Apr 2018 12:48:41 +0000 (14:48 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 19 Apr 2018 12:48:41 +0000 (14:48 +0200)
create_vmware_template.groovy

index 7ce0fb4ff985c444eac74005ed656fcb567d22b3..401c6ca33d8a67137b2fc475bd385b1d3a16ed61 100644 (file)
@@ -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
 
 '''