Re: Is the Jenkins plugins server down?

2020-11-13 Thread zil...@gmail.com
Thank you!

On Friday, November 13, 2020 at 4:21:06 PM UTC-5 slide wrote:

> The plugin site is currently having issues. The infra team is working VERY 
> hard to resolve the issue. 
>
> On Fri, Nov 13, 2020 at 2:06 PM zil...@gmail.com  wrote:
>
>> I'm trying to update my plugins from my Manage Plugins page and I'm 
>> getting this error. I also get the error if I cut/paste the URL to my 
>> browser.
>>
>> java.io.IOException: Server returned HTTP response code: 503 for URL: 
>> https://get.jenkins.io/plugins/ldap/1.25/ldap.hpi at 
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
>>  
>> at 
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
>>  
>> at 
>> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
>>  
>> at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at 
>> java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at 
>> java.net.URLConnection.getContentLength(URLConnection.java:485) at 
>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:412)
>>  
>> at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1264)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/309d5dcf-6df4-48d1-8849-e947ea52e54dn%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Website: http://earl-of-code.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8f7fe9e7-74f5-45b4-bb37-ea77bb9e006bn%40googlegroups.com.


Is there a way to add my own project to the jenkinsci github organization?

2020-11-13 Thread Artem Salimov
I recently developed a useful tool (at least for my small team)
https://github.com/gocruncher/jenkins-job-cli
which helps us to conveniently run any Jobs from the Command line.
and I would like to add this project to the https://github.com/jenkinsci 
organization 
I wonder is there any chance of doing this?

Thanks in advance. I apologize for my strangeness

Kind regards,
Artem Salimov

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3fee7441-48a7-4549-8e97-f3070d59e671n%40googlegroups.com.


Is there a way to add my own project to the jenkinsci github organization?

2020-11-13 Thread Artem Salimov
I recently developed a useful tool (at least for my small team)
https://github.com/gocruncher/jenkins-job-cli
which helps us to conveniently run any Jobs from the Command line.
and I would like to add this project to the https://github.com/jenkinsci 
organization 
I wonder is there any chance of doing this?

Thanks in advance. I apologize for my strangeness

Kind regards,
Artem Salimov

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fa6e0068-de41-4723-8f93-13492a93c492n%40googlegroups.com.


Re: Is the Jenkins plugins server down?

2020-11-13 Thread Slide
The plugin site is currently having issues. The infra team is working VERY
hard to resolve the issue.

On Fri, Nov 13, 2020 at 2:06 PM zil...@gmail.com  wrote:

> I'm trying to update my plugins from my Manage Plugins page and I'm
> getting this error. I also get the error if I cut/paste the URL to my
> browser.
>
> java.io.IOException: Server returned HTTP response code: 503 for URL:
> https://get.jenkins.io/plugins/ldap/1.25/ldap.hpi at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
> at
> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
> at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at
> java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at
> java.net.URLConnection.getContentLength(URLConnection.java:485) at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:412)
> at
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1264)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/309d5dcf-6df4-48d1-8849-e947ea52e54dn%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfV%2BgN%2BNBHk%2BWLa_QtyoVZBYVPfvAX3hnKa2vUPj%3DLhkg%40mail.gmail.com.


Is the Jenkins plugins server down?

2020-11-13 Thread zil...@gmail.com
I'm trying to update my plugins from my Manage Plugins page and I'm getting 
this error. I also get the error if I cut/paste the URL to my browser.

java.io.IOException: Server returned HTTP response code: 503 for URL: 
https://get.jenkins.io/plugins/ldap/1.25/ldap.hpi at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
 
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
 
at 
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
 
at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at 
java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at 
java.net.URLConnection.getContentLength(URLConnection.java:485) at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:412)
 
at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1264)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/309d5dcf-6df4-48d1-8849-e947ea52e54dn%40googlegroups.com.


Re: Renew expired certificate for Jenkins SAML plugin

2020-11-13 Thread Ivan Fernandez Calvo
Yes, it is correct, you have to import the certificate you see in 
the JENKINS_HOME/saml-sp-metadata.xml file(or in the URL you marked in the 
screenshot) in your IdP

El viernes, 13 de noviembre de 2020 a las 21:05:07 UTC+1, 
david...@gmail.com escribió:

> Thanks all for the replies.
>
> I have generated a new JKS via the following command (had different 
> values):
>
> $JAVA_HOME/bin/keytool -genkeypair -alias saml-key -keypass  \
>   -keystore /path/to/saml-key.jks -storepass   \
>   -keyalg RSA -keysize 2048 -validity 3650
>
> I then pointed in Jenkins UI to the newly created JKS keystore, which it 
> identified correctly.
>
> I then selected "Auth Request Signature" and clicked on the following link 
> in Jenkins Security configuration:
>
> [image: image.png]
> This has generated a new XML file which has a new X509 certificate in it, 
> and I believe this should be used with an AD provider.
>
> Would this be a correct procedure?
>
> Thanks again.
>
> Kind regards,
> Igor
>
> On Sun, Nov 8, 2020 at 7:48 PM Ivan Fernandez Calvo  
> wrote:
>
>> the result is the same you have a private key and a certificate that you 
>> have to import in the Keystore,  This Keystore is the one you have to 
>> configure in the SAML plugin
>>
>> El domingo, 8 de noviembre de 2020 a las 20:26:50 UTC+1, 
>> david...@gmail.com escribió:
>>
>>> Thank you for reply. 
>>>
>>> If we are using encryption, does it means that typically when starting 
>>> with Jenkins SAML setup (e.g. ADFS) we are first creating certificate and 
>>> keypair via keytool (which will be stored in saml-jenkins-keystore.jks) and 
>>> then uploading it to ADFS, or are we first starting from ADFS side and 
>>> configuring metadata/keys/certificates on that side and uploading those to 
>>> Jenkins afterwards ? 
>>>
>>> Thanks again. 
>>>
>>> On Tuesday, November 3, 2020 at 5:17:35 PM UTC kuisat...@gmail.com 
>>> wrote:
>>>
 This Keystore is automatically created if you do not configure 
 encryption, the Pac4j needs a key to work even though you do not use 
 encryption. So in general if you do not use sign or encryption in the SAML 
 messages (not related to TLS) you do need to configure anything this file 
 will be used only to make the library work, but your IdP will not request 
 your certificate. If you use encryption, you should configure your own 
 Keystore and manage the keys in there. 

 In the Documentation of the plugin you can found how to configure 
 encryption and how this Keystore works.

 https://github.com/jenkinsci/saml-plugin/blob/master/doc/CONFIGURE.md

 *Encryption* - If your provider requires encryption or signing, you 
 can specify the keystore details here that should be used. If you do not 
 specify a keystore, the plugin would create one with a key that is valid 
 for a year, this key would be recreate when it expires, by default the key 
 is not exposed in the SP metadata if you do not enable signing.

- *Keystore path* - The path to the keystore file created with the 
keygen command.
- *Key Alias* - The alias used in the -alias argument of the 
keytool< command.
- *Keystore password* - The password used in the -storepass 
argument of the keytool command.
- *Private Key password* - The password used in the -keypass 
argument of keytool.
- *Auth Request Signature* - Enable signature of the Redirect 
Binding Auth Request, If you enable it the encryption and signing key 
 would 
available in the SP metadata file and URL 
(JENKINS_URL/securityRealm/metadata). The disable of signing auth 
 request 
does not work with HTTP redirection binging, it only works for POST 
 binding.


 El martes, 3 de noviembre de 2020 a las 16:48:28 UTC+1, Igor David 
 escribió:

> Hello,
>
> What is the correct way to renew an expired certificate 
> (JENKINS_HOME/saml-jenkins-keystore.jks) which is used for SAML Plugin 
> please?
>
> https://github.com/jenkinsci/saml-plugin
>
> In that process, what is the purpose of saml-jenkins-keystore.xml 
> (e.g. is it generated every time a new certificate is renewed or)?
>
> I have tried removing  JENKINS_HOME/saml-jenkins-keystore.jk, 
> disabling SAML plugin and re-enabling it again and I do see that it has 
> generated new certificate, but I am not sure if this is the correct way 
> and 
> what happens with JENKINS_HOME/saml-jenkins-keystore.xml in that case? 
>
> Thanks in advance.
>
> Kind regards,
> Igor
>
 -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> 

Re: Renew expired certificate for Jenkins SAML plugin

2020-11-13 Thread Igor David
Thanks all for the replies.

I have generated a new JKS via the following command (had different values):

$JAVA_HOME/bin/keytool -genkeypair -alias saml-key -keypass  \
  -keystore /path/to/saml-key.jks -storepass   \
  -keyalg RSA -keysize 2048 -validity 3650

I then pointed in Jenkins UI to the newly created JKS keystore, which it
identified correctly.

I then selected "Auth Request Signature" and clicked on the following link
in Jenkins Security configuration:

[image: image.png]
This has generated a new XML file which has a new X509 certificate in it,
and I believe this should be used with an AD provider.

Would this be a correct procedure?

Thanks again.

Kind regards,
Igor

On Sun, Nov 8, 2020 at 7:48 PM Ivan Fernandez Calvo 
wrote:

> the result is the same you have a private key and a certificate that you
> have to import in the Keystore,  This Keystore is the one you have to
> configure in the SAML plugin
>
> El domingo, 8 de noviembre de 2020 a las 20:26:50 UTC+1,
> david...@gmail.com escribió:
>
>> Thank you for reply.
>>
>> If we are using encryption, does it means that typically when starting
>> with Jenkins SAML setup (e.g. ADFS) we are first creating certificate and
>> keypair via keytool (which will be stored in saml-jenkins-keystore.jks) and
>> then uploading it to ADFS, or are we first starting from ADFS side and
>> configuring metadata/keys/certificates on that side and uploading those to
>> Jenkins afterwards ?
>>
>> Thanks again.
>>
>> On Tuesday, November 3, 2020 at 5:17:35 PM UTC kuisat...@gmail.com wrote:
>>
>>> This Keystore is automatically created if you do not configure
>>> encryption, the Pac4j needs a key to work even though you do not use
>>> encryption. So in general if you do not use sign or encryption in the SAML
>>> messages (not related to TLS) you do need to configure anything this file
>>> will be used only to make the library work, but your IdP will not request
>>> your certificate. If you use encryption, you should configure your own
>>> Keystore and manage the keys in there.
>>>
>>> In the Documentation of the plugin you can found how to configure
>>> encryption and how this Keystore works.
>>>
>>> https://github.com/jenkinsci/saml-plugin/blob/master/doc/CONFIGURE.md
>>>
>>> *Encryption* - If your provider requires encryption or signing, you can
>>> specify the keystore details here that should be used. If you do not
>>> specify a keystore, the plugin would create one with a key that is valid
>>> for a year, this key would be recreate when it expires, by default the key
>>> is not exposed in the SP metadata if you do not enable signing.
>>>
>>>- *Keystore path* - The path to the keystore file created with the
>>>keygen command.
>>>- *Key Alias* - The alias used in the -alias argument of the
>>>keytool< command.
>>>- *Keystore password* - The password used in the -storepass argument
>>>of the keytool command.
>>>- *Private Key password* - The password used in the -keypass
>>>argument of keytool.
>>>- *Auth Request Signature* - Enable signature of the Redirect
>>>Binding Auth Request, If you enable it the encryption and signing key 
>>> would
>>>available in the SP metadata file and URL
>>>(JENKINS_URL/securityRealm/metadata). The disable of signing auth request
>>>does not work with HTTP redirection binging, it only works for POST 
>>> binding.
>>>
>>>
>>> El martes, 3 de noviembre de 2020 a las 16:48:28 UTC+1, Igor David
>>> escribió:
>>>
 Hello,

 What is the correct way to renew an expired certificate
 (JENKINS_HOME/saml-jenkins-keystore.jks) which is used for SAML Plugin
 please?

 https://github.com/jenkinsci/saml-plugin

 In that process, what is the purpose of saml-jenkins-keystore.xml (e.g.
 is it generated every time a new certificate is renewed or)?

 I have tried removing  JENKINS_HOME/saml-jenkins-keystore.jk, disabling
 SAML plugin and re-enabling it again and I do see that it has generated new
 certificate, but I am not sure if this is the correct way and what happens
 with JENKINS_HOME/saml-jenkins-keystore.xml in that case?

 Thanks in advance.

 Kind regards,
 Igor

>>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8498a077-3cbf-4e02-ba08-85d66a4036een%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

Re: How to conditionally execute a step based on changeset (multiple paths)?

2020-11-13 Thread geoffroy...@gmail.com
Thanks for the hint, seems multiple changeset entries solution is simple 
enough in our case.
I would go for regex for a more complex use case
Regard

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4a8cc90e-2cc3-453c-9101-c49ad4f4f1cfn%40googlegroups.com.


CustomTool installation issue with large Matrix job (race condition)

2020-11-13 Thread Geoffroy J
Hello

I have a fairly large matrix job (30 environments).

For one matrix environment only, I need to install a dedicated tool
(Sonarqube build-wrapper).
CustomTool works perfectly fine for this purpose.

However, as CustomTool installation is defined as a build wrapper step, it
get activated for all matrix environments, resulting in the tool being
installed 30 times.

As you can imagine, because several jobs are executed in // on the same
machine, we regularly face some installation race conditions (mostly on
windows) as one job is installing the tool and another one also tries to
install it (and the first step of installation seems to be uninstalling)...

Any recommendations on how to workaround this behavior?

Maybe there could be an option not to fail in case of tool installation
failure. But as the plugin seems "abandoned" it might not be a great idea
to
Elsewhere i'll switch to a manual install...


[CustomTools] - scm-sonarqube-build-wrapper: Starting installation
FATAL: Failed to install
https://sonarqubeserver/sonarqube-prod/static/cpp/build-wrapper-win-x86.zip
to
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper
Also:   Also:   java.nio.file.AccessDeniedException:
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86\build-wrapper-win-x86-64.exe
at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:237)
Also:   java.nio.file.AccessDeniedException:
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86\build-wrapper-win-x86-64.exe
at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:241)
jenkins.util.io.CompositeIOException: Unable to remove file
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86\build-wrapper-win-x86-64.exe
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:252)
at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:205)
at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:216)
at
jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:226)
at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:215)
at
jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:226)
at
jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:87)
Also:   Also:   java.nio.file.DirectoryNotEmptyException:
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86
at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:237)
Also:   java.nio.file.DirectoryNotEmptyException:
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86
at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:241)
jenkins.util.io.CompositeIOException: Unable to remove directory
E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86
with directory contents:
[E:\j\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\scm-sonarqube-build-wrapper\build-wrapper-win-x86\build-wrapper-win-x86-64.exe]
at
jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:250)
at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:205)
at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:216)
at

Re: Jenkins Windows Download 503 Error

2020-11-13 Thread Slide
The issue is still being worked on.

On Fri, Nov 13, 2020 at 9:03 AM Alan Sparks 
wrote:

> Any updates today on the download issues?  Have a couple of plugin updates
> that won’t complete.
>
> Checked Internet connectivity from Jenkins, seems to be OK.
>
>
>
> java.io.IOException: Server returned HTTP response code: 502 for URL:
> https://get.jenkins.io/plugins/conditional-buildstep/1.4.0/conditional-buildstep.hpi
>
>
>
> java.net.SocketTimeoutException: connect timed out
>
>at java.net.PlainSocketImpl.socketConnect(Native Method)
>
>
>
> *From:* jenkinsci-users@googlegroups.com 
> *On Behalf Of *Mark Waite
> *Sent:* Thursday, November 12, 2020 2:25 PM
> *To:* Jenkins Users 
> *Subject:* Re: Jenkins Windows Download 503 Error
>
>
>
>
>
>
>
> On Thu, Nov 12, 2020 at 2:10 PM Jack  wrote:
>
> Do you know why this might be happening? Wondering if others are seeing
> the issue too
>
>
>
> We see what is happening.  Azure storage timeouts are blocking access to
> data that answers download requests.
>
>
>
> We don't know the root cause why it is happening.  That's what the
> infrastructure team is investigating.
>
>
>
> Others are definitely seeing the issue.  We have reports on twitter,
> Gitter, Reddit, and IRC.
>
>
>
> Mark Waite
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/DM6PR18MB330648B172DA82621D1AB5DFC5E60%40DM6PR18MB3306.namprd18.prod.outlook.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfvZq2wddeZYqaXq8nMmDHPts_tppU5ArZLUM4zVme7Ng%40mail.gmail.com.


RE: Jenkins Windows Download 503 Error

2020-11-13 Thread Alan Sparks
Any updates today on the download issues?  Have a couple of plugin updates that 
won’t complete.
Checked Internet connectivity from Jenkins, seems to be OK.

java.io.IOException: Server returned HTTP response code: 502 for URL: 
https://get.jenkins.io/plugins/conditional-buildstep/1.4.0/conditional-buildstep.hpi

java.net.SocketTimeoutException: connect timed out
   at java.net.PlainSocketImpl.socketConnect(Native Method)

From: jenkinsci-users@googlegroups.com  On 
Behalf Of Mark Waite
Sent: Thursday, November 12, 2020 2:25 PM
To: Jenkins Users 
Subject: Re: Jenkins Windows Download 503 Error



On Thu, Nov 12, 2020 at 2:10 PM Jack 
mailto:jackferra...@gmail.com>> wrote:
Do you know why this might be happening? Wondering if others are seeing the 
issue too

We see what is happening.  Azure storage timeouts are blocking access to data 
that answers download requests.

We don't know the root cause why it is happening.  That's what the 
infrastructure team is investigating.

Others are definitely seeing the issue.  We have reports on twitter, Gitter, 
Reddit, and IRC.

Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/DM6PR18MB330648B172DA82621D1AB5DFC5E60%40DM6PR18MB3306.namprd18.prod.outlook.com.


error indexing C++ .h files on sonarqube with jenkins

2020-11-13 Thread jesus fernandez
It is my first time using sonarqube. I am using 7.9.4 version with the 
community cxx plugin. 

I tried in a super simple project and it worked so I went for a bigger 
project but I keep getting this error everytime I try to build my pipeline 
```Language of file 'Source\age3\abilities.h' can not be decided as the 
file matches patterns of both sonar.lang.patterns.c++ : 
**/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.h,**/*.hxx,**/*.hpp,**/*.hh,**/*.h 
and sonar.lang.patterns.c : **/*.c,**/*.h```

I have tried adding the suffixes to the sonar-project.properties as follow:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true
sonar.language=c++
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.c,.h

sonar.sources=./Source
sonar.sourceEncoding=UTF-8
```

and also adding this parameters to my pipeline with -D as:
```
 stage('SonarQube analysis') {
steps{
script{
def scannerHome = tool 'SonarMSBuild'
withSonarQubeEnv('Sonar_Server') {
bat """

${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -X 
-Dsonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.c,.h 
-Dsonar.projectKey=Boston -Dsonar.projectName=Boston 
-Dsonar.sources=./Source -Dsonar.scm.disabled=true -Dsonar.language=c++ 
-Dsonar.sourceEncoding=UTF-8
"""
}
}
}
}
```

I have also addedh the .h extension on the sonarqune UI under 
administration -> Configuration -> C++ -> Source files suffixes, but none 
of them work

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7fcbb545-975b-4d72-89f8-f3f59cf1968an%40googlegroups.com.