Execute multi modules project in parallel with Pipeline job and view test result per module

2016-05-03 Thread Cuong Tran
All, I'm experimenting with the new pipeline job to execute tests in a multi-module project. I'm able to execute individual modules in parallel and collecting test results. One thing I'm looking for is the ability to view the test results of each module separately. Is this possible with the

Re: TCP Slave Agent Port Disabled by Default in 2.0?

2016-05-03 Thread Mike Albert
For anyone else who stumbles upon this post via a Google Search, Karl found a solution and it can be found in his repo below: https://github.com/karlmdavis/ansible-jenkins2 Thanks Karl! On Friday, April 8, 2016 at 5:41:29 PM UTC-4, Karl Davis wrote: > > Howdy all, > > As I mentioned in my last

Re: How to configure Maven Installation via Groovy

2016-05-03 Thread Karl Davis
Baptiste, This is great -- thanks! I had a hard time finding an example that'd auto-install Maven for me. Best regards, Karl M. Davis On Saturday, January 23, 2016 at 8:38:45 AM UTC-5, Baptiste Mathus wrote: > > > https://github.com/batmat/jez/blob/master/jenkins-master/init_scripts/add_maven_a

Re: Jenkins 2.0: Turn off Setup wizard

2016-05-03 Thread Mike Albert
Adding a restart step to our Jenkins deployment script did the trick. The java option to disable the setup wizard is working as well. Thanks! On Monday, May 2, 2016 at 6:44:18 PM UTC-4, Daniel Beck wrote: > > > > On 03.05.2016, at 00:15, Richard Bywater > > wrote: > > > > @Daniel - FYI I can

Adding environment variables to node configuration

2016-05-03 Thread Barry Laffoy
Hi As in this SO question, http://stackoverflow.com/q/34186806/1506521, I am trying to set environment variables on my Jenkins nodes (master + slaves) automatically. i.e. via a script, without having to go through the web front end. The code given in the answer only works if the Node Propertie

Re: Adding environment variables to node configuration

2016-05-03 Thread Barry Laffoy
Okay, mere moments after I posted this, user @OltzU gave me a solution in IRC. I needed to be using instance.nodeProperties.add(). So this code works import jenkins.model.Jenkins import hudson.slaves.EnvironmentVariablesNodeProperty import hudson.slaves.NodeProperty def instance = Jenkins.inst

Gitlab-Hook + DSL / configure-block

2016-05-03 Thread strowi
Hi all, i'm trying to get the gitlab-hook / Gitlab commit status publisher configured via DSL. Since there is no DSL-API for now, i was thinking to get it working via a configure block, but can't seem to find the right syntax for the following part: gitlab-hook

Updated Ansible role to support final release of Jenkins 2. Secure out of the box!

2016-05-03 Thread Karl Davis
Howdy all, Now that the final 2.0 (and 2.1, even) release is out the door, I've updated my Ansible role for installing Jenkins to move away from the .deb-based install and use the official APT repo: https://github.com/karlmdavis/ansible-jenkins2. Additionally, I put together a (horrifyingly, a

Re: Ansible role for installing and configuring Jenkins 2

2016-05-03 Thread Karl Davis
Daniel, Thanks very much for the tip! At this point, it's just easier to leave my init.d script solution for this in place, but if I were to start over from scratch, I'd definitely use your (simpler) suggestion. And congrats on getting 2.0 out the door! I'm super jazzed about all the new capab

Re: "optional" plugin dependencies

2016-05-03 Thread Jay Howard
Thanks for the response Daniel. I'll just leave them all installed. Was just trying to clean up some (seemingly superfluous) clutter. If I could suggest one UI change: Give users a way to hide/show plugins that can't be removed or disabled because they're dependencies. Basically, provide a vie

Re: ERROR: No tool named M3 found

2016-05-03 Thread Baptiste Mathus
Hi, https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch04s06.html Cheers 2016-05-03 8:48 GMT+00:00 : > Hi > > I am hoping that somebody will provide some direction here. I've started > experimenting with Jenkins flow - see below snippet, and I am getting an > e

ERROR: No tool named M3 found

2016-05-03 Thread ayache . khettar
Hi I am hoping that somebody will provide some direction here. I've started experimenting with Jenkins flow - see below snippet, and I am getting an error stating: ERROR: No tool named M3 found. Can anyone snow me how to set the M3 (Maven) tool in the global configuration. Many thanks in advan

Re: "optional" plugin dependencies

2016-05-03 Thread Daniel Beck
> On 03.05.2016, at 03:08, Jay Howard wrote: > > For instance, I'd like to remove the Subversion plugin but I'm blocked > because the Parameterized Trigger plugin has an "optional" dependency on it. A known limitation of the current UI. > Also, a surprisingly large number of plugins seem to d

Re: CA Harvest Plugin - CheckOut error

2016-05-03 Thread Kinnera Kancheti
Hi, I also faced same problem, but correct it by giving "CheckOutForBrowse", here C, O, F, B are uppercase letters. It worked for me. Thanks, Kinnera On Tuesday, April 26, 2011 at 7:57:02 PM UTC+5:30, Eder wrote: > > Hi all, > I´m using CA Harverst Plugin in our Jenkins and I want to checkout