You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/12/06 15:24:57 UTC
[incubator-hop] 15/22: HOP-2122
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch integration-tests
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
commit 02e92bf6f87ba3d3eb877fb9ee70e57e7a191630
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Sun Dec 6 10:09:13 2020 +0100
HOP-2122
---
Jenkinsfile.daily | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index a844508..c35044a 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -42,7 +42,10 @@ pipeline {
MAVEN_SKIP_RC = true
dockerImage = ''
imagename = 'hop'
- jenkins_user = $(JENKINS_USER)
+ jenkins_user = ${USER}
+ jenkins_uid = sh(script: "id -u ${USER}", returnStdout: true).trim()
+ jenkins_gid = sh(script: "id -g ${USER}", returnStdout: true).trim()
+ jenkins_group = sh(script: "id -gn ${USER}", returnStdout: true).trim()
}
options {
@@ -62,6 +65,9 @@ pipeline {
echo 'Building Branch: ' + env.BRANCH_NAME
echo 'Using PATH = ' + env.PATH
echo 'Using Jenkins user = ' + jenkins_user
+ echo 'Using Jenkins userid = ' + jenkins_uid
+ echo 'Using Jenkins group = ' + jenkins_group
+ echo 'Using Jenkins groupid = ' + jenkins_gid
}
}
stage('Cleanup') {