You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/10/06 09:33:49 UTC
[maven-jenkins-lib] branch master updated: Use def
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 3baa929 Use def
3baa929 is described below
commit 3baa929be6ca1300a9cb50f973ae55ad2ca8cde6
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Oct 6 11:33:45 2018 +0200
Use def
---
vars/asfMavenTlpPlgnBuild.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 5da1562..ddd5ab0 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -144,8 +144,8 @@ 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)
- var wsDir = pwd( tmp : tmpWs )
+ def tmpWs = (os == 'windows' && taskContext.tmpWs)
+ def wsDir = pwd( tmp : tmpWs )
ws( dir : "$wsDir" )
{
stage("Checkout ${stageId}") {