testing_43

43
This commit is contained in:
psycho 2020-08-14 10:17:46 +02:00
parent 287fa8e09b
commit 126f287318

4
Jenkinsfile vendored
View File

@ -144,9 +144,9 @@ node('test')
//logger.printInfo('job is getting deleted ' + currentBuild.id.toString())//job.nextBuildNumber)
job.nextBuildNumber -= 1 //updateNextBuildNumber(job.getNextBuildNumber() - 1) //resetting next build number does not work. if done, the next build start will do nothing
//job.saveNextBuildNumber()
//job.getLastBuild().delete()
job.updateNextBuildNumber(job.nextBuildNumber - 1)
//job.updateNextBuildNumber(job.nextBuildNumber - 1)
printDebug('NUMBER_after:' + job.nextBuildNumber)
job.getLastBuild().delete()
job.save()
}