Revision: 65314
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 18, 2013 17:22 by alces
Initial Code
MAX_LOG_MB = 1024 import hudson.model.* Hudson.instance.items.lastBuild.findAll{ it && it.state == Run.State.BUILDING && it.logFile.size()/(1024 * 1024) > MAX_LOG_MB }*.doStop()
Initial URL
hudson_kill_huge_build
Initial Description
Groovy script for hudson's scripler/script console (for latter case import line could be removed) aborting running builds with loo large logs.
Initial Title
Abort hudson builds with huge logs
Initial Tags
log
Initial Language
Groovy