Jenkinsfile: ...
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/e08309ec Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/e08309ec Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/e08309ec Branch: refs/heads/feature/RollingFileAppender-NG Commit: e08309ec00b39abc7d810bddb97c243334a6fffd Parents: bf4abd0 Author: Dominik Psenner <dpsen...@apache.org> Authored: Tue Jul 18 18:23:13 2017 +0200 Committer: Dominik Psenner <dpsen...@apache.org> Committed: Tue Jul 18 18:23:13 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/e08309ec/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index cd56620..fe262c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,15 +44,15 @@ pipeline { // calculate args required to build the docker container def JENKINS_UID = sh ( - script: 'stat -c "%u" .', + script: 'stat -c \"%u\" .', returnStdout: true ).trim() def JENKINS_GID = sh ( - script: 'stat -c "%g" .', + script: 'stat -c \"%g\" .', returnStdout: true ).trim() - echo $JENKINS_UID - echo $JENKINS_GID + echo "$JENKINS_UID" + echo "$JENKINS_GID" // build docker container docker.build 'builder-netstandard:latest', "-f buildtools/docker/builder-netstandard/Dockerfile --build-arg JENKINS_UID=$JENKINS_UID --build-arg JENKINS_GID=$JENKINS_GID"