builder-netstandard: added node section to allow customWorkspace

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

Branch: refs/heads/feature/RollingFileAppender-NG
Commit: 4934c1a9abe7a0f7dc7f76115a5e212b7591fca8
Parents: 78f3133
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Sun Jul 9 14:45:52 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Sun Jul 9 14:45:52 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/4934c1a9/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 436a897..464e0c6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,11 +38,13 @@ pipeline {
                // builds
                stage('build netstandard') {
                        agent {
-                               dockerfile {
-                                       dir 
'buildtools/docker/builder-netstandard'
-                                       reuseNode true
+                               node {
+                                       dockerfile {
+                                               dir 
'buildtools/docker/builder-netstandard'
+                                               reuseNode true
+                                       }
+                                       customWorkspace '/home/jenkins'
                                }
-                               customWorkspace '/home/jenkins'
                        }
                        steps {
                                sh 'export HOME=`pwd`'

Reply via email to