This is an automated email from the ASF dual-hosted git repository.
neilcsmith 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 e31088b Add logging to nightlies and installer sections.
new 9bf076a Merge pull request #89 from neilcsmith-net/nb180
e31088b is described below
commit e31088bdd34cdcc3ed566e5f868b9d472bd20a4e
Author: Neil C Smith <[email protected]>
AuthorDate: Wed Apr 19 09:27:52 2023 +0100
Add logging to nightlies and installer sections.
---
vars/asfMainNetBeansBuild.groovy | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index bf80ddc..bedb8e1 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -294,6 +294,8 @@ def publishToNightlies(remotedirectory , source, prefix="")
{
usePromotionTimestamp: false,
useWorkspaceInPromotion: false,
verbose: false)])
+ } else {
+ println "NO SSH PUBLISHER TO PUSH TO NIGHTLIES"
}
}
// in fact not parallel otherwise workspace not cleaned
@@ -357,6 +359,7 @@ def doParallelClusters(cconfigs) {
sh "mkdir -p
distpreparation${versionnedpath}installer"
sh "mkdir -p dist/vsix"
if (params.INSTALLERS) { // skip
installers unless requested
+ println "BUILDING INSTALLERS"
def installer = libraryResource
'org/apache/netbeans/installer.sh'
writeFile file:
"distpreparation${versionnedpath}installer/installer.sh", text: installer
@@ -403,6 +406,8 @@ def doParallelClusters(cconfigs) {
// archiveArtifacts
"nbpackage${versionnedpath}installer/**"
}
+ } else {
+ println "SKIPPING INSTALLER BUILDS"
}
@@ -450,9 +455,12 @@ def doParallelClusters(cconfigs) {
}
stage("publish to nightlies ${versionnedpath}") {
if (params.NIGHTLIES) {
+ println "PUBLISHING TO NIGHTLIES"
publishToNightlies("/netbeans/candidate/${versionnedpath}","dist${versionnedpath}/*","dist${versionnedpath}")
publishToNightlies("/netbeans/candidate/installers","dist/installers/*","dist/installers/")
publishToNightlies("/netbeans/candidate/vsix","build-${clustername}-temp/java/java.lsp.server/build/*.vsix","build-${clustername}-temp/java/java.lsp.server/build")
+ } else {
+ println "SKIPPING PUBLISH TO NIGHTLIES"
}
}
}
---------------------------------------------------------------------
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