Re: Proxy for branch indexing in multibranch pipeline

2016-04-29 Thread Lionel Orellana
Upgrading from 1.656 to 2.0 fixed it. The GitHub Branch Source Plugin is probably what made the difference. I was using a Git (as opposed to GitHub) branch source before. On Friday, 29 April 2016 15:51:58 UTC+10, Lionel Orellana wrote: > > Hi > > I have a proxy configured in my Jenkins

Re: Jenkins Pipeline: How to fail on junit results

2016-04-29 Thread Craig Rodrigues
Take a look at this and see if it helps: https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy#L227 If you call JUnitArchiver from inside a pipeline, I think it throws an exception if there is a test failure. You need to catch the exception, explicitly set

Re: Jenkins job output values

2016-04-29 Thread Baptiste Mathus
Hi, No standard way to my knowledge. Or possibly write a simple plugin that would do that parsing from the log or the FS as you say, or whatever, and would expose a RESTish API. My 2 cents. 2016-04-29 1:32 GMT+02:00 Alan Evangelista : > Hi. > > I execute a Jenkins

Re: Jenkins Pipeline: How to fail on junit results

2016-04-29 Thread John Long
You can use the junit reporting plugin to do this. Once you've installed it, you can call it with code like this: step([$class: 'JUnitResultArchiver', keepLongStdio: true, testResults: 'target/test-reports/TEST*.xml']) The snippet

Re: Jenkinsfile to clone a remote repository

2016-04-29 Thread Kohsuke Kawaguchi
What Antonio said, or also see https://www.cloudbees.com/blog/jenkins-workflow-using-global-library-implement-re-usable-function-call-secured-http-endpoint which is a part of the pipeline suite. On Thu, Apr 28, 2016 at 3:15 PM Jeeva Chelladhurai wrote: > Hello All, > > I am

Re: Bind Usergroup to specified node(s)/slave(s)?

2016-04-29 Thread 'Dan Steffen' via Jenkins Users
Hello, excuse my late response the Job Restrictions Plugin was exactly that was i looking for. Thanks for your help best regards Dan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: build trigger condition on checkin

2016-04-29 Thread Tom Moore
On Friday, April 29, 2016 at 10:55:18 AM UTC-4, Hector Magnanao wrote: > > I’m using PTC Integrity for my SCM tool, do you have any suggestions on > that ? > > > I've never used the PTC Integrity CM plugin, so I'm only able to guess based off the wiki:

JDK Installer Groovy script

2016-04-29 Thread Stijn Diependaele
Dear, I'm trying to write a groovy script which manages the JDK installs. The code below would set the JDK installation with the home folder. Although I would like to us an automatic installation from Oracle. You have to set the username and password for this. But how do i pass the username

RE: build trigger condition on checkin

2016-04-29 Thread Magnanao, Hector
I’m using PTC Integrity for my SCM tool, do you have any suggestions on that ? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tom Moore Sent: Thursday, April 28, 2016 10:52 AM To: Jenkins Users Subject: Re: build

Jenkins CCJPE Tutorial Video - Source Control Management :D

2016-04-29 Thread Ken Erwin
Hi everyone :) We just released another tutorial video for preparing for the CCJPE. https://www.devopslibrary.com/lessons/jenkins-scm I know everyone here is familiar with how to use an SCM with Jenkins, but just thought I'd post in case it's useful for teaching your junior team members.

Re: Failed to connect to Github repository

2016-04-29 Thread Mark Waite
Be sure that you've used the "Credentials" link from the top of the Jenkins UI to add a new RSA private key for your user, and that you've confirmed separately from a git command line on that Windows machine that the credentials allow you access to the github repository. Use that credential in

Failed to connect to Github repository

2016-04-29 Thread Prasu S
I'm trying to connect from Jenkins(which is on windows server) to Github repository(this is in cloud) . I received this error: Failed to connect to repository :failed to connect to using credentials(status=403). Please help me resolve this issue. It's urgent. Thank You, P !! -- You

Re: Jenkinsfile to clone a remote repository

2016-04-29 Thread Antonio Muñiz
You should use https://github.com/jenkinsci/workflow-remote-loader-plugin to load an external script. On Thu, Apr 28, 2016 at 11:51 PM, Jeeva Chelladhurai wrote: > Hello All, > > I am planning to organize my source code in one github repository, and the > Jenkinsfile and the

Re: Jenkins 2.0 and the game of life

2016-04-29 Thread Daniel Beck
> On 29.04.2016, at 05:37, Sarah Baker wrote: > > It's not something I'm introducing in the build line that I enter into > jenkins for maven. > I don't know how it's getting introduced. To clarify, you did not enter the values as shown on figure 2-24 on page 34, where the