You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2023/01/26 17:39:53 UTC
[netbeans-jenkins-lib] branch master updated: oneliner for nbpackage
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 b1a8642 oneliner for nbpackage
b1a8642 is described below
commit b1a864224a17bb416d2ad11cbac3a83be77a6d53
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Thu Jan 26 18:39:48 2023 +0100
oneliner for nbpackage
---
vars/asfMainNetBeansBuild.groovy | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 33fc99b..6bf2b7c 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -375,19 +375,9 @@ def doParallelClusters(cconfigs) {
sh "mvn org.apache.maven.plugins:maven-dependency-plugin:3.5.0:unpack -DoutputDirectory=nbpackage${versionnedpath}installer -Dartifact=org.apache.netbeans:nbpackage:${nbpackageversion}:zip:bin -Dmaven.repo.local=${env.WORKSPACE}/.repository -DremoteRepositories=apache.snapshots.https::::https://repository.apache.org/snapshots"
// build installer only deb for testing.
- sh """
-nbpackage${versionnedpath}installer/nbpackage-${nbpackageversion}/bin/nbpackage
- --type linux-deb
- -Pname="Apache NetBeans"
- -Pversion=$version
- -Purl="https://netbeans.apache.org"
- -Pdeb.maintainer="NetBeans Mailing List <us...@netbeans.apache.org>"
- -Pdeb.desktop-filename="apache-netbeans-ide-$rmversion"
- -Pdeb.wmclass="Apache NetBeans IDE $rmversion"
- --input dist$versionnedpath$path-$rmversion-bin.zip
-"""
+ sh "nbpackage${versionnedpath}installer/nbpackage-${nbpackageversion}/bin/nbpackage --type linux-deb -Pname=\"Apache NetBeans\" -Pversion=${version} -Purl=\"https://netbeans.apache.org\" -Pdeb.maintainer=\"NetBeans Mailing List <us...@netbeans.apache.org>\" -Pdeb.desktop-filename=\"dist/installers/apache-netbeans-ide-${rmversion}\" -Pdeb.wmclass=\"Apache NetBeans IDE ${rmversion}\" --input dist${versionnedpath}${path}-${rmversion}-bin.zip "
// debug output
- archiveArtifacts 'nbpackage${versionnedpath}installer/**'
+ archiveArtifacts "nbpackage${versionnedpath}installer/**"
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists