You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/08/16 18:06:08 UTC

[maven-jenkins-lib] 01/02: ${env.EXECUTOR_NUMBER} returns null

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git

commit b47637eb0652ad549194c52b20b368fc81c05b84
Author: tibordigana <ti...@apache.org>
AuthorDate: Fri Aug 16 20:01:44 2019 +0200

    ${env.EXECUTOR_NUMBER} returns null
---
 vars/asfMavenTlpPlgnBuild.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index e4576ac..15bc912 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -147,10 +147,11 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
       cmd += 'verify'
       cmd += '-Papache-release'
   }
-  def localRepo = "../.maven_repositories/${env.EXECUTOR_NUMBER}" // ".repository" //	
+  def localRepo = "../.maven_repositories/${EXECUTOR_NUMBER}" // ".repository" //
   def disablePublishers = !first
   first = false
   String stageId = "${os}-jdk${jdk}-m${maven}_${plan}"
+  println "Local Repo (${stageId}): ${localRepo}"
   tasks[stageId] = {
     node(jenkinsEnv.nodeSelection(label)) {
       def wsDir = pwd()