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 87c2c5f don't pick up tmpWs from a context
87c2c5f is described below
commit 87c2c5f5735f13b7eec62f8cd0cf4fbbbb63dd88
Author: rfscholte <[email protected]>
AuthorDate: Sat Sep 26 11:46:03 2020 +0200
don't pick up tmpWs from a context
---
vars/asfMavenTlpStdBuild.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index bf4a0b1..18257f8 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -77,7 +77,7 @@ def call(Map params = [:]) {
tasks[stageId] = {
node("${label}") {
def wsDir = pwd()
- if (os == 'windows' && taskContext.tmpWs) {
+ if (os == 'windows' && tmpWs) {
wsDir = 'F:\\short\\' +
"$BUILD_TAG".replaceAll(/(.+)maven-box_maven-(.+)/) { "m-${it[2]}" }
}
ws( dir : "$wsDir" )