From 27c11934e8c5598d5d6a7d41f02e66a305d5abb3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 31 Oct 2018 14:22:56 +0100 Subject: [PATCH] Changing create_vmware_template.groovy (Jenkins) to update submodules --- create_vmware_template.groovy | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/create_vmware_template.groovy b/create_vmware_template.groovy index 81e84e8..44f8f0f 100644 --- a/create_vmware_template.groovy +++ b/create_vmware_template.groovy @@ -3,22 +3,22 @@ def projectName = "create-vmware-tpl" def gitServerUrl = "git.pixelpark.com" def gitCloneUrl = "git@${gitServerUrl}:${group}/${projectName}.git" def normalizedName = "${group}-${projectName}".replaceAll('/','-') -def jenkinsJobAdmins = ['frabrehm', 'mickraus', 'grenaeck', 'andschme'] -//def emailReceivers = 'frank.brehm@pixelpark.com, michael.krause@pixelpark.com, andre.schmelzer@pixelpark.com, gregor.naeckel@pixelpark.com' +def jenkinsJobAdmins = ['frabrehm', 'mickraus', 'grenaeck', 'svebuchh'] +//def emailReceivers = 'frank.brehm@pixelpark.com, michael.krause@pixelpark.com, gregor.naeckel@pixelpark.com, sven.buchholz@pixelpark.com' 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 "Aktuelles Arbeitsverzeichnis: '$( 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 "Build-Nummer: ${BUILD_NUMBER}" +echo "Build ID: ${BUILD_ID}" echo echo "---------------------------------------------------" @@ -97,6 +97,9 @@ job("create-vmware-template") { branch('${GIT_BRANCH}') extensions { pruneBranches() + submoduleOptions { + recursive() + } } browser { gitLab { -- 2.39.5