[Events] Jenkins activities at FOSDEM 2019

2019-01-09 Thread Alyssa Tong
Hi All, If you're attending FOSDEM this year a few of us are planning the below Jenkins activities. Pls join us if you're in the area. - Friday, 1 Feb - Workshop: Jenkins Pipeline Fundamentals -

Kubernetes default jnlp container

2019-01-09 Thread Maciej Gąsiorowski
Hi, It is possible to set custom default jnlp container (from private repo) for all jobs, without configuring him in all pipelines used in instance? I tried configure it in jenkins settings, but this don't work, job allways tried to pull imgage from hub.docker. Thanks, Maciej -- You

Re: Jenkins junit can't find the test report produce by gtest

2019-01-09 Thread Craig Rodrigues
Charlie, The XML generated by GoogleTest is not compatible with JUnit. You need to use the XUnit plugin to parse the GoogleTest format XML. See: https://plugins.jenkins.io/xunit https://wiki.jenkins.io/display/JENKINS/xUnit+Plugin https://jenkins.io/blog/2016/10/31/xunit-reporting/

CLI command to start jenkins job with default and overriden parameters

2019-01-09 Thread Vicki Kozel
Hello, I am having trouble with combining default and overriden parameters when invoking jenkins jobs through remote CLI command. It looks like the following invocation passes command line parameters to a job just fine, but ignores the default parameters: curl -v

Jenkins junit can't find the test report produce by gtest

2019-01-09 Thread Charlie Cheng
Hello, I want to known why the Junit can't find the gtest report. everytime I check the directory, and I am sure that the gtest report is exist, below is my Jenkinsfile: stage('Test') { steps { sh 'echo mkdir dir output' sh 'mkdir -p

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Ujjawal Khare
Correct... 1. check connectivity with host 2. also make sure what port it uses 3. Go to your jenkins proxy settings, you can paste the url there and check if server is able to connect or not. Regards, UJ On Wed, 9 Jan 2019, 19:45 Jeff Thompson Usually it’s best to verify connectivity and

[ANN]: DevOps World Jenkins World CFP is Open

2019-01-09 Thread Alyssa Tong
Hi All, DevOps World | Jenkins World is taking place in San Francisco and Lisbon this year. The call for papers for both locations are now open . - San Francisco, CA | August 12 - 15, 2019 - *CFP deadline: March 10,

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Jeff Thompson
Usually it’s best to verify connectivity and behavior from outside Jenkins but on the same machines as the first troubleshooting step. If those are fine, then start troubleshooting from inside. Break complex jobs or operations down into small steps to speed attempts and to isolate issues. Good

Using variables or closures to define pipeline agent

2019-01-09 Thread Andrew Feller
Is there any way to use a variable or closure to configure a pipeline's agent? We have cases where a pipeline has to run on a VM and others when it runs on Kubernetes, however we don't want to duplicate the entire pipeline. All of the documentation shows this as being hardcoded

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Jan Monterrubio
Can you ping the Jenkins master from the agent? Are you using a named record or something like “localhost”? On Wed, Jan 9, 2019 at 07:37 SysInt wrote: > Does somebody need further piece of information to help me figure this out > ? > > -- > You received this message because you are subscribed

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread SysInt
Does somebody need further piece of information to help me figure this out ? -- 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

Restricting Clouds to Authorized Folders

2019-01-09 Thread harrybudd
Hey guys, I've been having troubles trying to setup Kubernetes agents in such a way that only authorized folders can use them. I used the following as a reference: https://github.com/jenkinsci/kubernetes-plugin#restricting-what-jobs-can-use-your-configured-cloud I set up a Kubernetes cloud in

Files sourced on pipeline shell step

2019-01-09 Thread Kamil Dzierżanowski
Hello, I'm trying to determine, which (if any) files are sourced by the shell, in which commands specified in "sh" pipeline step are executed. I need to make sure the NVM (Node Version Manager) is sourced everytime this step is used. I tried numerous dot-files for the user the Jenkins agent is