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 8fcdca5 curl fixes
8fcdca5 is described below
commit 8fcdca519412933242709b5e33e23c99da3cc417
Author: Eric Barboni <[email protected]>
AuthorDate: Wed May 3 18:13:44 2023 +0200
curl fixes
cc @neilcsmith-net it needs to follow redirect
---
vars/asfMainNetBeansBuild.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index d523724..f5ac699 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -80,7 +80,7 @@ def call(Map params = [:]) {
steps {
script {
// test if we can do that
- sh 'curl
"https://netbeans.apache.org/nbbuild/netbeansrelease.json" -o
netbeansrelease.json'
+ sh 'curl
"https://netbeans.apache.org/nbbuild/netbeansrelease.json" -L -o
netbeansrelease.json'
def releaseInformation = readJSON file:
'netbeansrelease.json'
sh 'rm -f netbeansrelease.json'
branch = env.BRANCH_NAME
---------------------------------------------------------------------
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