This is an automated email from the ASF dual-hosted git repository.
gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-build.git
The following commit(s) were added to refs/heads/master by this push:
new 52ed0cd fix Jenkinsfile for Jenkins build pipeline Turbine-Build-Site
52ed0cd is described below
commit 52ed0cdaf30480a8b6a3e2b81f4e1f620a77627a
Author: Georg Kallidis <[email protected]>
AuthorDate: Fri Oct 21 14:20:38 2022 +0200
fix Jenkinsfile for Jenkins build pipeline Turbine-Build-Site
---
Jenkinsfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 0326c2f..154412b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -89,12 +89,13 @@ pipeline
{
dir("${params.TURBINE_COMPONENT}")
{
- git
"https://gitbox.apache.org/repos/asf/turbine-${params.TURBINE_COMPONENT}.git"
+ // git
"https://gitbox.apache.org/repos/asf/turbine-${params.TURBINE_COMPONENT}.git"
+ git branch: '${params.SUB_MODULE_HEAD}', url:
'https://gitbox.apache.org/repos/asf/${params.TURBINE_COMPONENT}.git'
script
{
sh "pwd"
sh "git branch"
- echo "${params.TURBINE_COMPONENT}: Checking out
${params.SUB_MODULE_HEAD}"
+ echo "${params.TURBINE_COMPONENT}: Checked out
${params.SUB_MODULE_HEAD}"
sh "git checkout ${params.SUB_MODULE_HEAD}"
env.CURRENT_BRANCH = sh(script: "git status --branch
--porcelain | grep '##' | cut -c 4-", returnStdout: true).trim()
echo "CURRENT_BRANCH: ${env.CURRENT_BRANCH}"