Re: Gradle Tool Failed Download

2019-09-25 Thread Sverre Moe
Which projects has the source code for the Maven, Gradle and Groovy Tool installers? I want to have a check to see if there is something to be done on the Gradle and Groovy tool installers. onsdag 25. september 2019 10.30.17 UTC+2 skrev Sverre Moe følgende: > > The Gradle tool installer is not

Re: About SMTPSendFailedException

2019-09-25 Thread Adrien Lecharpentier
Hello, I'm wondering which version of the Mailer plugin you are using on your instance. Is it possible that you are using a version between 1.25 and 1.27 (both included)? If so, please upgrade to 1.28 because you might be facing https://issues.jenkins-ci.org/browse/JENKINS-59430. BR, -- Adrien

Confused by declarative pipeline trigger specifications

2019-09-25 Thread David Aldrich
Hi We use declarative pipelines extensively, triggered by SCM change. We use a cron spec to specify a SCM polling interval. It seems that the trigger specification can be set in two places: in the GUI configuration for the job and in the pipeline itself. Do I need to set both trigger

Re: How to check the actual assigned label of a queued build via REST API?

2019-09-25 Thread Rafael Rezende
> > we use Go but you can use curl or any HTTP client, it is something like > this > > JENKINS_CRUMB=$(curl --silent > "$JENKINS_URL/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,\":\",//crumb)") > curl --silent -X POST -H "${JENKINS_CRUMB}" -F "script= ${JENKINS_URL}/scriptText > >

Re: Gradle Tool Failed Download

2019-09-25 Thread Daniel Beck
Run the following in the Jenkins script console: hudson.ProxyConfiguration.getInputStream(new URL(" https://services.gradle.org/distributions/gradle-5.6.2-bin.zip;)).text.substring(0, 100) Note that this loads the entire downloaded file, if successful, into memory, so not quite production

Re: Gradle Tool Failed Download

2019-09-25 Thread Sverre Moe
The Gradle tool installer is not the only tool having this problem. I am getting the same SSL problem with Groovy tool installers. Makes me wonder, what does the maven tool installer do different than the Gradle and Groovy tool installers. mandag 23. september 2019 22.26.10 UTC+2 skrev Sverre

Re: Gradle Tool Failed Download

2019-09-25 Thread Sverre Moe
Both the MavenInstaller and GradleInstaller are very similar public static class MavenInstaller extends DownloadFromUrlInstaller { public class GradleInstaller extends DownloadFromUrlInstaller { I thought perhaps they used different implementation, and that was the reason for why

Re: Gradle Tool Failed Download

2019-09-25 Thread Sverre Moe
There is no Exception thrown when running that in script console. Result: PK A gradle-5.6.2/ PK AĘ|H !gradle-5.6.2/getting-start Same for Maven hudson.ProxyConfiguration.getInputStream(new

Re: Gradle Tool Failed Download

2019-09-25 Thread Sverre Moe
I thought about using "Extract *.zip/*.tar.gz instead, and pointing it to a custom Gradle distribution at an inhouse URL. However the gradle distribution is unpackaged into a second subdirectory: /jenkins/tools/hudson.plugins.gradle.GradleInstallation/gradle-5.6/ gradle-5.6.1 While the tool

Re: Confused by declarative pipeline trigger specifications

2019-09-25 Thread Slide
The GUI portion is filled in by the pipeline once it has run once and the triggers and so forth have been processed. You can't change the cron in the GUI and have it work. It only works to change it in the pipeline itself. On Wed, Sep 25, 2019 at 1:16 AM David Aldrich wrote: > Hi > > We use

Re: About SMTPSendFailedException

2019-09-25 Thread Ajij Shaikh
Hey, It worked for me when I use version 1.23 of mailer thanks for help! Thanks, Ajij On Wed, Sep 25, 2019 at 1:42 PM Adrien Lecharpentier < adrien.lecharpent...@gmail.com> wrote: > Hello, > > I'm wondering which version of the Mailer plugin you are using on your > instance. > Is it possible