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 69fc9c9  add buildnumber
69fc9c9 is described below

commit 69fc9c924bdcb47620648a9931e40b22359b99b5
Author: Eric Barboni <[email protected]>
AuthorDate: Thu Jun 27 11:18:04 2019 +0200

    add buildnumber
---
 vars/asfMainNetBeansBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 0337a84..a233feb 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -111,7 +111,7 @@ def call(Map params = [:]) {
                                         if (target=="build") {
                                             add=" 
-Ddo.build.windows.launchers=true"
                                         }
-                                        sh "ant -f 
${target}-${clusterconfig}-temp/build.xml ${target} 
-Dcluster.config=${clusterconfig} ${add}"
+                                        sh "ant -f 
${target}-${clusterconfig}-temp/build.xml ${target} 
-Dcluster.config=${clusterconfig} 
-Dbuildnum=${env.BRANCH_NAME}_${env.BUILD_NUMBER} ${add}"
                                     }
                                     
                                 }
@@ -160,7 +160,7 @@ def call(Map params = [:]) {
                                
                                 //sh "ant -f build-platform-temp/build.xml 
build -Dcluster.config=platform -Ddo.build.windows.launchers=true"
                                 
-                                sh "ant -f build-release-temp/build.xml 
build-nbms build-source-zips generate-uc-catalog -Dcluster.config=release 
-Ddo.build.windows.launchers=true"
+                                sh "ant -f build-release-temp/build.xml 
build-nbms build-source-zips generate-uc-catalog -Dcluster.config=release 
-Ddo.build.windows.launchers=true 
-Dbuildnum=${env.BRANCH_NAME}_${env.BUILD_NUMBER}"
                                 
                                 sh "rm -rf ${env.WORKSPACE}/dist"
                                 sh "mkdir ${env.WORKSPACE}/dist"


---------------------------------------------------------------------
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