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


The following commit(s) were added to refs/heads/integration-tests by this push:
     new 1e1fcba  HOP-2122
1e1fcba is described below

commit 1e1fcbab015526212174ea3d1e3585951d70061e
Author: Hans Van Akelyen <[email protected]>
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') {

Reply via email to