This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push: new e6b0498 enable tmpWs e6b0498 is described below commit e6b049892ded77135ce0909d3e033a7af3fbe0a5 Author: rfscholte <rfscho...@apache.org> AuthorDate: Sat Oct 6 11:32:02 2018 +0200 enable tmpWs --- vars/asfMavenTlpPlgnBuild.groovy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy index ee0c9df..5da1562 100644 --- a/vars/asfMavenTlpPlgnBuild.groovy +++ b/vars/asfMavenTlpPlgnBuild.groovy @@ -144,9 +144,10 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext ) String stageId = "${os}-jdk${jdk}-m${maven}_${plan}" tasks[stageId] = { node(jenkinsEnv.nodeSelection(label)) { -// var tmpWs = (os == 'windows' && taskContext.tmpWs) -// ws(dir:pwd(tmp:tmpWs)) -// { + var tmpWs = (os == 'windows' && taskContext.tmpWs) + var wsDir = pwd( tmp : tmpWs ) + ws( dir : "$wsDir" ) + { stage("Checkout ${stageId}") { try { dir(stageId) { @@ -205,7 +206,7 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext ) cleanWs() } } -// } + } } } }