testing_46
46
This commit is contained in:
parent
cb15c44e68
commit
606b3b3e1a
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -142,12 +142,12 @@ node('test')
|
||||
def jobName = JOB_NAME
|
||||
def job = Jenkins.instance.getItem(jobName)
|
||||
job.getLastBuild().delete()
|
||||
printDebug('NUMBER:' + job.nextBuildNumber)
|
||||
//printDebug('NUMBER:' + job.nextBuildNumber)
|
||||
//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.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.updateNextBuildNumber(job.nextBuildNumber - 1)
|
||||
printDebug('NUMBER_after:' + job.nextBuildNumber)
|
||||
//printDebug('NUMBER_after:' + job.nextBuildNumber)
|
||||
job.save()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user