Repository: logging-log4net
Updated Branches:
  refs/heads/feature/cd-pipeline 9b3d93a7d -> 26835fac5


Jenkinsfile: yet another attempt to fix the syntax errors


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/26835fac
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/26835fac
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/26835fac

Branch: refs/heads/feature/cd-pipeline
Commit: 26835fac5d5b3baecab6a6f29c13b2876c57e25e
Parents: 9b3d93a
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Tue Jul 18 17:18:09 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Tue Jul 18 17:18:09 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/26835fac/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 57a7fac..a10e64f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,14 +32,14 @@ pipeline {
                        steps {
                                deleteDir()
                                checkout scm
-                               env.JENKINS_UID = sh (
+                               JENKINS_UID = sh (
                                        script: 'stat -c "%u" ${env.WORKSPACE}',
                                        returnStdout: true
-                               )
-                               env.JENKINS_GID = sh (
+                               ).strip()
+                               JENKINS_GID = sh (
                                        script: 'stat -c "%g" ${env.WORKSPACE}',
                                        returnStdout: true
-                               )
+                               ).strip()
                                sh 'echo ${env.JENKINS_UID}'
                                sh 'echo ${env.JENKINS_GID}'
                        }

Reply via email to