This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch ebarboni-patch-1 in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git
commit 8f50f44275ffe875a5c3a754dae79f6e23e6d108 Author: Eric Barboni <[email protected]> AuthorDate: Tue Apr 4 19:06:49 2023 +0200 Update asfMainNetBeansBuild.groovy trying to ask for parameter only for the releasebranch. Want to keep master build not asking --- vars/asfMainNetBeansBuild.groovy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy index 6c979a5..7b836ce 100644 --- a/vars/asfMainNetBeansBuild.groovy +++ b/vars/asfMainNetBeansBuild.groovy @@ -69,10 +69,7 @@ def call(Map params = [:]) { agent { node { label 'ubuntu' } } - parameters { - booleanParam(name: 'INSTALLERS', defaultValue: false, description: 'Build installers?') - booleanParam(name: 'NIGHTLIES', defaultValue: false, description: 'Publish to nightlies.apache.org?') - } + stages { stage("Preparing Variable") { @@ -222,6 +219,10 @@ def call(Map params = [:]) { } stage ('Release preparation') { + parameters { + booleanParam(name: 'INSTALLERS', defaultValue: false, description: 'Build installers?') + booleanParam(name: 'NIGHTLIES', defaultValue: false, description: 'Publish to nightlies.apache.org?') + } tools { jdk tooling.jdktool } --------------------------------------------------------------------- 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
