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 <rfscho...@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}") {

Reply via email to