Skip to content
Mariano Botta edited this page Jan 27, 2020 · 1 revision

Andes Test Integración

Script para borrar builds de Jenkins:

def jobName = "andes-test-integracion"
def job = Jenkins.instance.getItem(jobName)
job.getBuilds().each {
	if (it.number <= NUMERO_A_BORRAR) {
		it.delete()
	}
}
job.save()
Clone this wiki locally