Build Pipeline jobs not updated after an initial failed/aborted build

2013-10-03 Thread Eric Wood
I have upgraded to Jenkins 1.530 and the build pipeline 1.4 plugin and now when a job in the pipeline fails or is aborted, and the job is then re-executed to a successful completion, the job in the pipeline is not updated to reflect a success and more importantly, the downstream job's trigger is

Why take so long to finish the job?

2013-10-03 Thread Luis Lopez
When a multiconfiguration job fails or is aborted by a user stays in the queue for longer than three minutes How I can avoid this behavior? I have more than 100 jobs running constantly and I can not waste so much time and there are several developers who are late for this reason Please i need yo

Re: Need help with Matrix-build

2013-10-03 Thread Roland Asmann
On 04.10.2013 0:10, Stephen Connolly wrote: On Thursday, 3 October 2013, Roland Asmann wrote: Quite a nice read! This might be a step in the right direction! One question though: currently I control the whole build with a single Perl script. It doesn't matter if I'm on Windows or

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
On Thursday, 3 October 2013, Roland Asmann wrote: > Quite a nice read! This might be a step in the right direction! > > One question though: currently I control the whole build with a single > Perl script. It doesn't matter if I'm on Windows or Linux (eg it reads > env-vars I set on the nodes)...

Hundreds of modules

2013-10-03 Thread teilo
Bug in the version you are using. See https://issues.jenkins-ci.org/browse/JENKINS-17355 -- 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 jenkinsci-users+unsub

Hundreds of modules

2013-10-03 Thread Christopher
I am looking at a Jenkins instance that has some issues. One of the things I see is that while a top level job has its builds deleted after 30 days, the sub module builds hang out forever. So I have a few projects that have 3000 submodule builds each. Yikes! It eats up a lot of disk. My questio

Re: Need help with Matrix-build

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 3:21 PM, Stephen Connolly wrote: > >> Likewise, having an option to run a system groovy steps at the top >> level would give you fine-grained control when you need it. > > This is not the solution you want. Right, but that means something else has to provide all the options

Re: Can't launch 2 slaves (having two different masters) on the same machine

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 1:52 PM, Raouf Abdelhamid wrote: > when not specified, jenkins seems to use an account called anonymous to > communicate with slaves That doesn't make any sense to me in the context of ssh which is going to need a specific matching account as a login on the target node. >

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
On Thursday, 3 October 2013, Les Mikesell wrote: > On Thu, Oct 3, 2013 at 2:24 PM, Stephen Connolly > > wrote: > > > >> How so? Requiring different build commands/options/targets seems very > >> normal across the same code's version history and branches. > > > > > > Typo I meant coupling your sou

Re: Need help with Matrix-build

2013-10-03 Thread Roland Asmann
Quite a nice read! This might be a step in the right direction! One question though: currently I control the whole build with a single Perl script. It doesn't matter if I'm on Windows or Linux (eg it reads env-vars I set on the nodes)... So how would I write that with literate builds? Add anot

Re: Need help with Matrix-build

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 2:24 PM, Stephen Connolly wrote: > >> How so? Requiring different build commands/options/targets seems very >> normal across the same code's version history and branches. > > > Typo I meant coupling your source code to your CI too tightly is not a good > thing... I think Je

Re: Need help with Matrix-build

2013-10-03 Thread Roland Asmann
Thanks Curtis, I'll check it out! On 03.10.2013 19:55, Curtis Kline wrote: Roland, have you looked at the Build Flow plugin? I am using that instead of the matrix builds in some circumstances. Curtis On Thu, Oct 3, 2013 at 9:11 AM, Roland Asmann mailto:roland.asm...@gmail.com>> wrote:

Re: Include JUnit Test Results in Email Notifications

2013-10-03 Thread Edwin Castro
On 10/3/13 12:55 PM, Edwin Castro wrote: > One last question, how do I determine what "it" refers to in Jelly > templates? I found this https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins#BasicguidetoJellyusageinJenkins-Understandingthe{{it}}object Thanks! -- Edwin

Re: Include JUnit Test Results in Email Notifications

2013-10-03 Thread Edwin Castro
On 10/3/13 12:38 PM, Slide wrote: > You can port what is done in the default Jelly template [1] and just > call the methods and such in the groovy template. > > slide > > 1 > - > https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/resources/hudson/plugins/emailext/templates/html.j

Re: parse build text and based on match send email

2013-10-03 Thread Slide
You could use a pre-send script with email-ext to read the build log and then if the value isn't there, make the pre-send script result in false and the email won't send. slide On Thu, Oct 3, 2013 at 11:01 AM, Kamal Ahmed wrote: > Hi, > > I want to be able to parse the following text : > > *01:

Re: Include JUnit Test Results in Email Notifications

2013-10-03 Thread Slide
You can port what is done in the default Jelly template [1] and just call the methods and such in the groovy template. slide 1 - https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/resources/hudson/plugins/emailext/templates/html.jelly#L126 On Thu, Oct 3, 2013 at 9:39 AM, Edwin C

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
On Thursday, 3 October 2013, Les Mikesell wrote: > On Thu, Oct 3, 2013 at 12:53 PM, Stephen Connolly > > wrote: > > Because you probably don't want to couple your source code too strongly > to > > your SCM. > > How so? Requiring different build commands/options/targets seems very > normal across

Re: Need help with Matrix-build

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 12:53 PM, Stephen Connolly wrote: > Because you probably don't want to couple your source code too strongly to > your SCM. How so? Requiring different build commands/options/targets seems very normal across the same code's version history and branches. > Of course the bre

Re: Can't launch 2 slaves (having two different masters) on the same machine

2013-10-03 Thread Raouf Abdelhamid
when not specified, jenkins seems to use an account called anonymous to communicate with slaves What's the problem with using the same file system ? can you explain please ? ps: i'd like to remind you that it was working pretty well under 1.456, so what has changed since then ? 2013/10/3 Les Mi

parse build text and based on match send email

2013-10-03 Thread Kamal Ahmed
Hi, I want to be able to parse the following text : 01:17:46 Summary of conflicts: 01:17:46 Text conflicts: 3 01:17:46 Tree conflicts: 8 Text conflicts: 0 and Tree conflicts: 0 Send no email, but any positive integer, send email Any ideas how i can do that ? Thanks, -Kamal. -- You receiv

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
http://jenkins-ci.org/content/literate-builds-wtf On Thursday, 3 October 2013, Roland Asmann wrote: > I'm not quite sure what you mean with 'literate builds'... Do you mean > splitting them in multiple jobs? > > > On Thursday, October 3, 2013 6:27:10 PM UTC+2, Stephen Connolly wrote: >> >> Of cou

Re: Need help with Matrix-build

2013-10-03 Thread Curtis Kline
Roland, have you looked at the Build Flow plugin? I am using that instead of the matrix builds in some circumstances. Curtis On Thu, Oct 3, 2013 at 9:11 AM, Roland Asmann wrote: > Hi guys, > > I need some help with a matrix-build. Until now, I had the build > configured to run on all nodes tha

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
Because you probably don't want to couple your source code too strongly to your SCM. Of course the breakthrough from my PoV is that you always want a README in SCM that says what the build command(s) is/are (hopefully it's a single command, but sometimes you need a couple of them) Hijacking the R

Re: Need help with Matrix-build

2013-10-03 Thread Roland Asmann
I'm not quite sure what you mean with 'literate builds'... Do you mean splitting them in multiple jobs? On Thursday, October 3, 2013 6:27:10 PM UTC+2, Stephen Connolly wrote: > > Of course with literate builds you get a much easier way: > > Here's the markdown you'd have > > # Environments > > *

Build Pipeline jobs not updated after an initial failed/aborted build

2013-10-03 Thread Eric Wood
I have upgraded to Jenkins 1.530 and the build pipeline 1.4 plugin and now when a job in the pipeline fails or is aborted, and the job is then re-executed to a successful completion, the job in the pipeline is not updated to reflect a success and more importantly, the downstream job's trigger is

Re: Need help with Matrix-build

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 11:27 AM, Stephen Connolly wrote: > Of course with literate builds you get a much easier way: > > Here's the markdown you'd have > > # Environments > > * `debian` > * `i386` > * `x64` > * `redhat` > * `i386` > * `x64` > * `windows` > > # Build > > * `debian`

Include JUnit Test Results in Email Notifications

2013-10-03 Thread Edwin Castro
How can I add junit test results to my email notifications using a groovy script template? -- Edwin Castro -- 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 jenk

Re: Need help with Matrix-build

2013-10-03 Thread Stephen Connolly
Of course with literate builds you get a much easier way: Here's the markdown you'd have # Environments * `debian` * `i386` * `x64` * `redhat` * `i386` * `x64` * `windows` # Build * `debian` whatever command you use to make the deb * `redhat` rpmbuild blah bl

Need help with Matrix-build

2013-10-03 Thread Roland Asmann
Hi guys, I need some help with a matrix-build. Until now, I had the build configured to run on all nodes that have a label 'deb' and 'rpm' as axis 'distro' combined with axis 'arch' which checks on 'i386' and 'x64'. This is because we are building some binaries that are specific for i386 and x6

Re: Can't launch 2 slaves (having two different masters) on the same machine

2013-10-03 Thread Les Mikesell
On Thu, Oct 3, 2013 at 9:32 AM, Raouf wrote: > By the way, i also noticed when using the built in ssh plugin, the slaves > are launched by the anonymous account even if i created them with a specific > admin user. > What is an anonymous account? And are you trying to run in the same FS root? I

Re: Can't launch 2 slaves (having two different masters) on the same machine

2013-10-03 Thread Raouf
By the way, i also noticed when using the built in ssh plugin, the slaves are launched by the anonymous account even if i created them with a specific admin user. Le jeudi 3 octobre 2013 10:26:11 UTC+2, Raouf a écrit : > > What i don't understand is that my scripts worked well when i was using

Re: Build status of all jobs.

2013-10-03 Thread Slide
You'd have to roll your own I believe. On Thu, Oct 3, 2013 at 7:03 AM, NATESH SHANMUGASUNDARAM < natesh.shanm...@gmail.com> wrote: > This is a very basic feature I am looking for. Is it available in Jenkins > or not yet ? > > Please update. > > > On Wednesday, October 2, 2013 9:07:27 AM UTC-4, N

Re: Build status of all jobs.

2013-10-03 Thread NATESH SHANMUGASUNDARAM
This is a very basic feature I am looking for. Is it available in Jenkins or not yet ? Please update. On Wednesday, October 2, 2013 9:07:27 AM UTC-4, NATESH SHANMUGASUNDARAM wrote: > > I am already doing that for each job. > > I am looking for a consolidated status report for all 4 or 5 projec

Re: Unable to launch Firefox24 using Jenkins

2013-10-03 Thread Aswini Rajasekaran
Hi Mark, I tried launching it directly from the server and then ran the jobs on Jenkins. But this didn't help. I have reverted the FF version to 17.0.8 and now it works fine from Jenkins. On Thursday, 3 October 2013 13:35:55 UTC+1, Mark Waite wrote: > > I wonder if Firefox is starting, but the

Re: Unable to launch Firefox24 using Jenkins

2013-10-03 Thread Mark Waite
I wonder if Firefox is starting, but then is prompting the user to answer some question (first time install type question). Have you run Firefox 24 at least once in that context before attempting to launch it from Jenkins? On Thu, Oct 3, 2013 at 5:17 AM, Aswini Rajasekaran < aswini.rajaseka...@g

Re: Git not unlocking pack files

2013-10-03 Thread William Soula
I was experiencing the same thing. One thing I came up with was to checkout the source code into a custom workspace so that previous runs wouldn't have to be deleted. I named the workspace using the build number so it was always unique. I did then have to run a cleanup job at night that took

Re: Unable to launch Firefox24 using Jenkins

2013-10-03 Thread Aswini Rajasekaran
Ì am getting this error, java.lang.RuntimeException: Timed out waiting for profile to be created! at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:307) at org.openqa.selenium.server.browserlaunchers.Fire

Unable to launch Firefox24 using Jenkins

2013-10-03 Thread Aswini Rajasekaran
Hi, I just upgraded the FF version in my build server to 24 and when Selenium RC tests are run, its not launching firefox, neither throwing an error. I am able to launch firefox if i run it from the server and selenium tests are running. Can anyone advise on this? Is FF24 compatible with Jenkin

Re: Slave using SSH

2013-10-03 Thread Stephen Connolly
This where you would use credentials domains. If you define a different domain, and set the domain specifications to match the specific server host names then when you have typed in the server host name... oh look, there is only one option in the drop down... that's handy! On 3 October 2013 11:3

Re: Slave using SSH

2013-10-03 Thread Suri
Thanks for your reply. i have 4 linux server with same user name and different password. if i add 4 servers credentials in Manage credentials page, How can i add 4 servers credentials in Node. i can't which server user name to be added in which server. because all my servers user name is same

Re: Slave using SSH

2013-10-03 Thread Stephen Connolly
Go to the manage credentials screen and add some credentials then add the slave. I am working on adding a button that allows you to add the credentials directly, but there are some other things that are taking my attention right now. The new Credentials UI was one blocking step towards this goal as

Re: Can't launch 2 slaves (having two different masters) on the same machine

2013-10-03 Thread Raouf
What i don't understand is that my scripts worked well when i was using 1.456, i could use as many test slaves as i wanted without having conflicts with the main slaves The issue occurs only since i moved my test instances to a 1.5xx version, so i'd like to know what happened exactely, and how

Slave using SSH

2013-10-03 Thread Suri
Hi Recently i have upgraded my Jenkins version from 1.466 to 1.531. in earlier version Jenkins i have connected slave agent using “Launch slave agents on SSH machines via SSH” option. When i select this option, i can see user name and password enter option in my existing version Jenkins