Hudson build defaults

Posted by toluju on Stack Overflow See other posts from Stack Overflow or by toluju
Published on 2009-12-03T20:52:46Z Indexed on 2010/03/16 8:06 UTC
Read the original article Hit count: 323

This has been a fairly long-standing problem for us with our Hudson installation, and searching around the Hudson Wiki / Issue Tracker hasn't yielded any insight to this.

The question: Is it possible to set certain default values for a maven2 build in Hudson? For example, we want all our projects to run the "clean" goal before a build, we want all our builds to poll the SCM hourly, and we want all our builds to deploy to our maven repository on build success.

Right now, we have to manually set these setting for every project individually, which can be rather time consuming as we have 30+ different projects all being managed by Hudson. This is especially annoying if we need to change a particular setting that will affect all projects (e.g. change the repository URL).

Given that I couldn't find any mention of this on the Wiki or Issue Tracker leads me to believe that I'm missing something obvious, but I cannot find an answer on my own.

© Stack Overflow or respective owner

Related posts about hudson

Related posts about build