Prevent job blocking deadlock

2015-06-19 Thread Jarvis
Hey guys. Happy Friday! We have a build flow job that kicks off multiple jobs in sequence with a DSL groovy file: unit tests, creating a build, deploying, regression tests, etc. Now the unit testing is a separate job that we'd like to run hourly during the day, while letting the main build flo

Re: Email only after all retries fail

2015-04-20 Thread Jarvis
@Craig Have you figured out a way to access the retry number from a groovy script? I'm having the same exact problem you're having with naginator and the email plugin. Since I'm not sure how to stop the email from going out, my idea was to set the recipient only when it's fails and is on the la

Getting Repositories touched by a commit

2015-02-12 Thread Jarvis
Using the Jenkins Git plugin is it possible to get all the repositories touched by a commit? When using the Jenkins API to get the information on a build, it has a list of commits (in changeSet) and each item has a commit hash, the files touched and other information, but it doesn't say what rep

Accessing Build Status and Number from Groovy Script

2014-07-28 Thread Jarvis
I have a Groovy script that runs whenever I do a build (it is an email template) and I was wondering if it is *possible to pass the current Build number and status to the script*. Using the Email-ext plugin I call the script with the {$SCRIPT, "template=test"} to include the output of the scrip

Plugin/Solution to email diff of changed files on every build failure.

2014-07-19 Thread Jarvis
Hey Everyone! I just joined a team that uses Jenkins for continuous integration and want to know if there is a plugin for the particular problem I'm looking to solve. Let me just start by saying, I'm completely new to Jenkins/Hudson and am actively trying to learn about the system while trying