Re: unable to launch remoting agent on slaves

2019-08-29 Thread Seth Galitzer
I found a solution to this shortly after posting my question. It seems jenkins uses a cache directory in the SSH users homedir for caching of jars when the agent runs. All of my slaves use the same SSH account to launch the agent. That account authenticates using LDAP and has a homedir on a cen

Windows slave error

2019-08-29 Thread Anetta van der Walt
Good day I am trying to setup a windows slave, but keep getting this error [image: slave.png] I tried to solve it by setting “TCP port for inbound agents” to a specific port, but that is not helping. Any suggestions? Regards Anetta -- You received this message because you

Re: Windows slave error

2019-08-29 Thread Emilio Escobar Reyero
Hi, It seems that you cannot reach 10.17.23.30 (port:39677) from the slave host. You need to check that before. Also seems to be a random port (configured in the master at Manage Jenkins / Configure Global Security). You probably prefer to use a fixed one (choosing one port like 5) and opening

Delay agent execution for auto-updates at boot

2019-08-29 Thread James Green
I finally used Packer to build an AMI based on Amazon Linux 2 to act as as agent. Yesterday, the builds began failing with a Java stack trace. Turns out the EC2 instance starts, and in parallel the Jenkins agent begins and an auto-upgrade of openjdk kicked off. Further instructions failed. Rebuild

Re: Windows slave error

2019-08-29 Thread Anetta van der Walt
Hey Emilo, Thanks for your response. I opened the port [image: Port.PNG] but still no luck [image: error.PNG] Any suggestions? Regards Anetta On Thursday, August 29, 2019 at 10:44:20 AM UTC+2, Emilio Escobar Reyero wrote: > > Hi, > > It seems that you cannot reach 10.17.23.30 (port:39677) fro

Re: Windows slave error

2019-08-29 Thread Anetta van der Walt
Also had to alow it on the master. So problem is now fixed. On Thu, Aug 29, 2019 at 12:42 PM Anetta van der Walt wrote: > Hey Emilo, > > Thanks for your response. > I opened the port > > [image: Port.PNG] > but still no luck > > [image: error.PNG] > Any suggestions? > > Regards > Anetta > > On T

Jenkins Docker Master Multiarch

2019-08-29 Thread Slide
Thanks to the major work of other people, Jenkins is now providing multiarch docker master images for arm64 (aarch64), arm (armv7), s390x and ppc64le alongside the existing amd64 images. They are currently being published to an evaluation org on dockerhub until there is enough positive feedback to

HTML Publisher for S3?

2019-08-29 Thread Basil Crow
Hi all, I generate HTML code coverage reports with JaCoCo and make them available via the Jenkins UI with the HTML Publisher Plugin, much as is described here: https://www.cloudbees.com/blog/publishing-html-reports-pipeline The trouble is that these reports contain thousands of tiny HTML f

Re: unable to launch remoting agent on slaves

2019-08-29 Thread Ivan Fernandez Calvo
SSH-slaves plugin does not recommend to use the same user on the same host for several agent connections because it would share the remoting and the java cache folders https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md#overall-recommendations it would never was re

Re: SAML Configuration

2019-08-29 Thread Ivan Fernandez Calvo
Hi, It is not possible to disable signed on HTTP-POST, I've found some difficulties to make it on pac4j library ( https://issues.jenkins-ci.org/browse/JENKINS-47966), there is a workaround the IIRC works that it is to modify the JENKINS_HOME/saml-sp-metadata.xml file manually to disable it, you

Generate API Token does not display token to user.

2019-08-29 Thread Philip Mason
Hi Jenkins folks. Running LTS 2.176.3. I find that "Add New Token" in the user configuration page isn't working. "Generate" button creates token, but it is never displayed to the user. Have to refresh the page to see that the token was created. The Script Console suggestion from Cloudbees to

Re: SAML Configuration

2019-08-29 Thread Ivan Fernandez Calvo
modify the JENKINS_HOME/saml-sp-metadata.xml does not work, I am reviewing it because maybe there is a way to implement it by extending a class. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: Generate API Token does not display token to user.

2019-08-29 Thread Mark Waite
That is quite unexpected. I just used Jenkins 2.176.3 with Google Chrome and confirmed that a token is generated as expected. In my case, I am connecting to Jenkins over SSL from the public internet, with the SSL certificate handled by LetsEncrypt and the reverse proxy by nginx. Can you describe

Re: Generate API Token does not display token to user.

2019-08-29 Thread Philip Mason
> > Hi Mark, No proxy involved at any level ... Standard Chrome browser. But I've just discovered there's a potential problem writing to the user config files. hudson.model.User.save is hitting NPEs in the Cloudbees example token generation script, as well as occasionally when I re-login

Re: SAML Configuration

2019-08-29 Thread Ivan Fernandez Calvo
I have made a PR that disables the Auth Request on HTTP-POST binding when the encryption settings are not set, the same behavior HTTP-REDIRECT binding, when the PR build finishes, you would have a version of the plugin with the patch here https://ci.jenkins.io/blue/organizations/jenkins/Plugins