We found a way around it.
1.0 Make a cron job to modify the config.xml to Clean workspace
1.1 Call reload configuration via disk from cron job
2.0 The hudson run the nightly builds
3.0 Make a cron job to modify the config.xml back to emualte clean
3.1 Call reload configuration via disk from cron j
On 24/03/2012 00:48, Slide wrote:
I use something like this in my groovy template
// the goal is to find the top level job which should contain the changelist
def upstreamBuild = null
def cause = build.causes.find {
if(it instanceof hudson.model.Cause.UpstreamCause) {
return true
My itch got to big so I had to scratch it. :-)
Andrew merged a pull request from me yesterday which adds a checkbox
to the advanced part of the git configuration which ignores the
repository from notifyCommit.
I think it will be part of version 1.17 of the plugin.
Regards,
Joakim
On Sat, Dec 3