Re: Parallelizing JUnit regression tests

2013-08-09 Thread Mark Waite
There are several levels at which you could run your JUnit tests in parallel. Most of them don't involve anything with Jenkins, other than using Jenkins to start them executing. For example - Use JUnit 4.7 to run the tests in parallel, see [1] and [2] - Use gradle to run your tests, see

Parallelizing JUnit regression tests

2013-08-09 Thread Yana K
Hi Could anyone please provide some idea on parallelizing a huge regression suite using Jenkins. We have over 25000 regression tests that run each day - so its taking a huge time to run them. We are using JUnit. And the tests are testing several web services. Thanks Yana -- You received this m

Re: Jenkins job builder and post build task

2013-08-09 Thread William Soula
Looks like you have a bad yaml file. If you take two space off the post-tasks line and the matches line it should work. I would also take two space off the log-test lines and operator lines but that doesn't appear to be necessary. publishers: - post-tasks: - matches:

Re: Jenkins job builder and post build task

2013-08-09 Thread Harsh Desai
Yes, I do have it installed. I can add a post-build-task through the jenkins Web GUI and the plugin works. The issue is the post-build-task does not get created when I use the jenkins job builder. I am using the master branch of the openstack-infra/jenkins-job-builder ( https://github.com/openst

Re: Jenkins + UiAutomator Always Green

2013-08-09 Thread Lin Chen
Daniel, It worked! Thanks for an android.os.Bundle :) On Thursday, 8 August 2013 17:11:56 UTC-4, Daniel Beck wrote: > > It basically means "Check whether the output of grep when searching for > 'Test failed' is empty; it it's not, fail the script". > > On 08.08.2013, at 21:58, Lin Chen > >

Re: Have email-ext subject contain the number of changed files

2013-08-09 Thread Steven Deal
D'oh... clearly I know just enough to be dangerous. Thanks, it works! Loving email-ext more and more everyday. On Friday, August 9, 2013 10:13:31 AM UTC-4, slide wrote: > > The script isn't a template, just a script, so you don't need to use <% > %>, just use groovy to do what you want, the las

rest api for builds across all jobs since a certain time

2013-08-09 Thread Chris Withers
Hi All, Is there any way I can get a list of the builds that have started since a period in time? Either that, or is there any way I can get Jenkins to poke a url (or otherwise fire an event) every time any build of any job completes? Chris -- Simplistix - Content Management, Batch Process

Re: Wipe out workspace

2013-08-09 Thread astraujums
I had a similar problem with SCM and needed to wipe workspaces on all slaves for a particular set of jobs. There was no ready solution so I rolled my own. The following Groovy script wipes workspaces of certain jobs on all nodes. Execute it from /computer/(master)/script Something like this could

Re: Cancel a Queue via Jenkins API

2013-08-09 Thread tiago fernandez
Thanks a lot for the rapid response, Now I see it has to be a POST, do you know how to do it with groovy and what import I have to use for that? Thanks. On Tuesday, August 6, 2013 4:07:00 PM UTC-3, Daniel Beck wrote: > Send a POST request. > > https://en.wikipedia.org/wiki/POST_%28HTTP%29

Re: Have email-ext subject contain the number of changed files

2013-08-09 Thread Slide
The script isn't a template, just a script, so you don't need to use <% %>, just use groovy to do what you want, the last line of the script is used as the "return value" for the script. So, just have chgCount as the last line outside of any <% %> blocks, and don't use <% %>. On Fri, Aug 9, 2013

rest api for builds across all jobs since a certain time

2013-08-09 Thread Chris Withers
Hi All, Is there any way I can get a list of the builds that have started since a period in time? Either that, or is there any way I can get Jenkins to poke a url (or otherwise fire an event) every time any build of any job completes? Chris -- You received this message because you are su

Re: Have email-ext subject contain the number of changed files

2013-08-09 Thread Steven Deal
Thanks for the suggestions. I think #1 would be great, although I'm not sure I follow exactly how to do this. The documentation mentions it only uses the last value. *'**When this is used, only the last value in the script will be used in the expansion'* I'm not sure I understand what this me

Re: Jenkins job builder and post build task

2013-08-09 Thread William Soula
Silly question, do you have the plugin installed? Will On 08/08/13 16:35, Richard Bywater wrote: Are you running a pretty new version of jenkins-job-builder? That task was only added on July 19th. Richard. On Fri, Aug 9, 2013 at 8:02 AM, Harsh Desai mailto:attitude.ha...@gmail.com>> wrote: H

Jira plugin : released version

2013-08-09 Thread valipost
Hello. I'm trying to configure Jenkins to work with Perforce and Jira. The Perforce part is working, I'm having issues with the Jira plugin. I will be using Perforce to keep the version information, in a counter (a Perforce variable). I can get them in jenkins environment variables if needed. The q

RE: HTML Reports Plugin - Always run?

2013-08-09 Thread Bob Bick
This is weird, now it seems to be working (i.e. when a failed job completes, the HTML publishing is occurring). From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent: Thursday, August 08, 2013 5:44 PM To: jenkinsci-users@googlegroups.c

Thread hijacking

2013-08-09 Thread Dirk Heinrichs
Hi, it happend 3(!) times in the "[POLL] how addicted are you..." thread. People replied to one of that threads message to start a new thread. Please don't do this. It breaks MUA's (like Thunderbird) ability to properly show each thread in its own tree, as it pollutes those trees with "foreign" me

Re: HTML Reports Plugin - Always run?

2013-08-09 Thread John Vacz
I also had this issue today (I didnt see/notice this issue until a few hours ago, is it just coincident?). I aborted a running job, but html publisher and emma plugin still ran, the reports from last build were collected and published: ... Build wurde abgebrochen Aborted by thg1 [FINDBUGS] Ski