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

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


The following commit(s) were added to refs/heads/master by this push:
     new 28f652d  make branch global
28f652d is described below

commit 28f652dc8eef81a4d5aa9229ea65218f3dbff4b0
Author: Eric Barboni <[email protected]>
AuthorDate: Thu Apr 14 14:23:22 2022 +0200

    make branch global
---
 vars/asfMainNetBeansBuild.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 32b330d..a4aeb89 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -47,6 +47,8 @@ def mavenVersion=""
 def tooling=[:]
 @groovy.transform.Field
 def repopluginversion="1.7-SNAPSHOT"
[email protected]
+def branch=""
 
 def call(Map params = [:]) {
     // variable needed for apidoc
@@ -69,7 +71,7 @@ def call(Map params = [:]) {
                         sh 'curl 
"https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json";
 -o netbeansrelease.json'
                         def releaseInformation = readJSON file: 
'netbeansrelease.json'
                         sh 'rm -f netbeansrelease.json'
-                        def branch = env.BRANCH_NAME
+                        branch = env.BRANCH_NAME
                         def githash = env.GIT_COMMIT
 
                         println githash


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to