Repository: logging-log4net
Updated Branches:
  refs/heads/feature/cd-pipeline 07b937b58 -> 37aac1170


Jenkinsfile: retry


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

Branch: refs/heads/feature/cd-pipeline
Commit: 37aac117091da5749efa166caa7b16f3e86c4ca2
Parents: 07b937b
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Sat Jul 8 17:54:03 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Sat Jul 8 17:54:03 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/37aac117/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 5996abf..08a1e96 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -164,13 +164,9 @@ pipeline {
                                        reuseNode true
                                }
                        }
-                       environment {
-                               USER='jenkins'
-                       }
                        steps {
                                // TODO FIXME
-                               sh 'export HOME=$(pwd)'
-                               sh 'useradd --home-dir $HOME --shell /bin/bash 
--uid $(uid -u) --gid $(uid -g) --groups $(uid -g) -p -M $USER'
+                               sh 'echo "useradd --home-dir `pwd` --shell 
/bin/bash --uid `uid -u` --gid `uid -g` --groups `uid -g` -p -M jenkins"'
                                sh 'echo user=$USER'
                                sh 'echo pwd=$PWD'
                                sh 'echo home=$HOME'

Reply via email to