You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/07/09 15:28:01 UTC
[13/50] [abbrv] logging-log4net git commit: Jenkinsfile: attempt to
usermod jenkins in the stage
Jenkinsfile: attempt to usermod jenkins in the stage
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/6962bf5d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/6962bf5d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/6962bf5d
Branch: refs/heads/develop
Commit: 6962bf5d1ae0bc0427b4dc02817098905d680ac0
Parents: df782e3
Author: Dominik Psenner <dp...@apache.org>
Authored: Sun Jul 9 10:53:16 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Sun Jul 9 10:53:16 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/6962bf5d/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index c83d4c6..291ee02 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -165,8 +165,12 @@ pipeline {
}
}
steps {
+ sh 'usermod -m -d `pwd` jenkins'
+ sh 'export HOME=`pwd`'
sh 'echo home=$HOME'
sh 'echo user=$USER'
+ sh 'cat /etc/passwd'
+
checkout scm
// compile