Re: Failing a Build Flow

2014-01-10 Thread silver
Nicolas, Do you have a recommendation on how I can accomplish the goal at hand? Otherwise, I see no other option but to try Marc's groovy script. Thanks. On Jan 10, 2014, at 2:51 AM, nicolas de loof nicolas.del...@gmail.com wrote: I don't recommend such a fully programmatic approach,

Re: Failing a Build Flow

2014-01-10 Thread nicolas de loof
This isn't supported at this time - I don't really get your use-case why can't you run those jobs in parallel ? If they actually depend on each other sequentially, why not stop the flow when first one fails ? 2014/1/10 silver pja...@gmail.com Nicolas, Do you have a recommendation on how I

Re: Junit Attachment Plugin

2014-01-10 Thread akim
Still Nothing. sys.stderr.write('\n'+'[[ATTACHMENT|'+screenshot_dir+'/%s.jpg' % now_time+']]'+'\n') -- 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

Re: Failing a Build Flow

2014-01-10 Thread silver
I can’t run the jobs in parallel because I’m resource limited on my Selenium hub. They do *not* depend on each other sequentially. The use case is that I need a group of jobs to run through to completion in succession, not parallel, but at the end, if at any point a job had failed, to fail

Re: Junit Attachment Plugin

2014-01-10 Thread akim
Thanks for latest version Now jenkins console output says that: Started by user anonymous http://localhost:8080/user/null Building in workspace /var/lib/jenkins/jobs/ignite2autotest/workspace Fetching changes from the remote Git repository Fetching upstream changes from

Re: Junit Attachment Plugin

2014-01-10 Thread akim
If i'm doing stderr, should I use same directory with report.xml file? -- 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

Re: Failing a Build Flow

2014-01-10 Thread nicolas de loof
ok, then the issue isn't an orchestration but resource one - this applies to all jobs on your instance, not just the ones from a specific flow - and you should use https://wiki.jenkins-ci.org/display/JENKINS/Locks+and+Latches+plugin to ensure your selenium jobs don't run concurrently 2014/1/10

Re: Failing a Build Flow

2014-01-10 Thread Marc MacIntyre
That aside, I'm using this in production and it works well. Sent from my iPhone On Jan 9, 2014, at 11:51 PM, nicolas de loof nicolas.del...@gmail.com wrote: I don't recommend such a fully programmatic approach, build-flow is designed as a DSL, admittedly not constrained to just supported

Re: Failing a Build Flow

2014-01-10 Thread nicolas de loof
yes I think so 2014/1/10 silver pja...@gmail.com Would “Throttle Concurrent Builds plugin do the same? The Locks and Latches plugin displays this message when I visit the page: This plugin is on the Proposed Plugin Deprecation list. Take a look at the Throttle Concurrent Builds Plugin.

Re: Failing a Build Flow

2014-01-10 Thread silver
Thanks Nicolas and Marc. I’m trying the throttle plug-in, which I had already installed but obviously did not take advantage of. On Jan 10, 2014, at 9:11 AM, nicolas de loof nicolas.del...@gmail.com wrote: yes I think so 2014/1/10 silver pja...@gmail.com Would “Throttle Concurrent

Re: Failing a Build Flow

2014-01-10 Thread silver
Hmm… That didn’t seem to work at all. I have “Throttle Concurrent Builds” checked and “Throttle this project alone” selected. Then, “Maximum Total Concurrent Builds set to “1” and Maximum Concurrent Builds Per Node set to “1” (I have only 1 node). I have switched the job back to the standard

RE: Failing a Build Flow

2014-01-10 Thread Ginga, Dick
My 2 cents worth not being a Groovy programmer but I use the build flow. You can call build like this : A = build(buildA) From A you can get the status: Aresult = A.build.getResult() From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Marc MacIntyre

Re: Failing a Build Flow

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 16:26, Ginga, Dick dick.gi...@perkinelmer.com wrote: My 2 cents worth not being a Groovy programmer but I use the build flow. You can call build like this : A = build(“buildA”) From A you can get the status: Aresult = A.build.getResult() How'd you set the

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread Johannes Wienke
Hi, I'd like to underline this issue. With the increasing use of Jenkins, it might actually become an interesting target for attacks, as in some environments the jenkins installation is tighly integrated into the system infrastructure, e.g. generating binary packages for linux distributions etc.

RE: Failing a Build Flow

2014-01-10 Thread Ginga, Dick
Well, I just use it as a condition test for a further build step. Because I am testing the result of 1 of 2 parallel builds the build flow returns the combined status. Maybe return(FAILURE) will work -Original Message- From: jenkinsci-users@googlegroups.com

Re: When do build results disappear?

2014-01-10 Thread Andy Jewell
No, that box is not checked. Originally, I thought it was because of something I did. This morning I checked and the build history is gone again and I hadn't touched that build for a couple weeks! Ugh. . . On Tuesday, December 31, 2013 7:47:40 AM UTC-8, David Aldrich wrote: Did you

Re: When do build results disappear?

2014-01-10 Thread Andy Jewell
My Jenkins version is 1.5.34. . . but how do I reload the config? Is that restarting the container? On Monday, January 6, 2014 8:40:35 AM UTC-8, lata wrote: Did you try reloading the config, do the builds re-appear after that? If yes, and if you're jenkins version is older than 1.532, it

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 16:56, Johannes Wienke jwie...@techfak.uni-bielefeld.de wrote: an interesting target for attacks Jenkins security is a joke. You can find security issues without trying, even in core. And the process to resolve them seems to be really broken. -- You received this message

Re: When do build results disappear?

2014-01-10 Thread k . thieling
You could either restart the container or if you go to Manage Jenkins in the web UI the 3rd option down should be Reload Configuration from Disk - Original Message - From: Andy Jewell andy.jew...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Friday, January 10, 2014 10:22:24 AM

Re: Failing a Build Flow

2014-01-10 Thread Marc MacIntyre
build.state.result = FAILURE On Fri, Jan 10, 2014 at 7:41 AM, Daniel Beck m...@beckweb.net wrote: On 10.01.2014, at 16:26, Ginga, Dick dick.gi...@perkinelmer.com wrote: My 2 cents worth not being a Groovy programmer but I use the build flow. You can call build like this : A =

Re: Failing a Build Flow

2014-01-10 Thread Marc MacIntyre
SUCCESS and FAILURE are constants, you don't need to do string comparisons. On Fri, Jan 10, 2014 at 9:06 AM, silver pja...@gmail.com wrote: I’m losing hope…. build_result = build(“job1); if ( build_result.build.getResult().equals(SUCCESS) ) { build_result = build(job2”); …more stuff

Re: Failing a Build Flow

2014-01-10 Thread silver
I’m losing hope…. build_result = build(“job1); if ( build_result.build.getResult().equals(SUCCESS) ) { build_result = build(job2”); …more stuff here... } else { throw new Exception(“FAIL!”); } When br contains the string “SUCCESS”, the if…else evaluates to else...every time! If I

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread teilo
an interesting target for attacks Jenkins security is a joke. You can find security issues without trying, even in core. And the process to resolve them seems to be really broken. Have you helped to improve this situation by actually reporting them via the proper channels?

Re: Failing a Build Flow

2014-01-10 Thread silver
THANK YOU! That might have gotten me over the hump. At least I’m smiling again. On Jan 10, 2014, at 12:09 PM, Marc MacIntyre marc...@purestorage.com wrote: SUCCESS and FAILURE are constants, you don't need to do string comparisons. On Fri, Jan 10, 2014 at 9:06 AM, silver

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 18:11, teilo teilo+goo...@teilo.net wrote: Have you helped to improve this situation by actually reporting them via the proper channels? Yes. That's why I consider the resolution process to be broken. The proper channels don't work. The first security issue I reported was