Ok, I've made progress on this. It turns out it was only failing because the git plugin would throw an exception when a submodule couldn't be checked out. I think this is a problem but should basically mark the build as an error and move on, not kill the whole process and thus keep trying to redo the build over and over.
On Fri, Apr 13, 2012 at 1:00 PM, fREW Schmidt <[email protected]> wrote: > I'm using Jenkins with the Multiple SCMs + Git plugin. Jenkins is > correctly doing a new build for each branch, but for some reason when it > fails a build it just keeps trying to redo the build, even if the branch > has not changed. How can I fix it so that Jenkins will move on to the next > branch and only try to rebuild if the current branch changes? > > Note, I originally asked this question on ServerFault (it's since been > migrated to StackOverflow) so if you answer and also want credit on SO feel > free to copy paste your answer to there: > http://stackoverflow.com/questions/10144733/how-do-i-get-jenkins-to-skip-failed-branches-till-they-change > > -- > fREW Schmidt > http://blog.afoolishmanifesto.com > -- fREW Schmidt http://blog.afoolishmanifesto.com
