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 14:01:01 UTC
logging-log4net git commit: builder-netstandard: moved
customWorkspace to the node around stage
Repository: logging-log4net
Updated Branches:
refs/heads/feature/cd-pipeline 01b7062f6 -> 6045e5e86
builder-netstandard: moved customWorkspace to the node around 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/6045e5e8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/6045e5e8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/6045e5e8
Branch: refs/heads/feature/cd-pipeline
Commit: 6045e5e866332c65712d70316598d4c2af5b1c72
Parents: 01b7062
Author: Dominik Psenner <dp...@apache.org>
Authored: Sun Jul 9 16:00:38 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Sun Jul 9 16:00:38 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/6045e5e8/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 3ee956c..dc19dbf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,20 +45,22 @@ pipeline {
reuseNode true
}
}
- customWorkspace '/home/jenkins/workspace'
}
}
- steps {
- sh 'export HOME=`pwd`'
- sh 'echo home=$HOME'
- sh 'echo user=$USER'
- sh 'cat /etc/passwd'
-
- checkout scm
-
- // compile
- sh 'nant compile-netstandard'
- stash includes: 'bin/**/*.*', name: 'netstandard-assemblies'
+ node {
+ customWorkspace '/home/jenkins/workspace'
+ steps {
+ sh 'export HOME=`pwd`'
+ sh 'echo home=$HOME'
+ sh 'echo user=$USER'
+ sh 'cat /etc/passwd'
+
+ checkout scm
+
+ // compile
+ sh 'nant compile-netstandard'
+ stash includes: 'bin/**/*.*', name: 'netstandard-assemblies'
+ }
}
}
stage('build net-3.5') {