testing_39
39
This commit is contained in:
parent
c7ef12a47d
commit
257c926c51
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -143,8 +143,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()
|
||||
item.updateNextBuildNumber(job.nextBuildNumber - 1)
|
||||
printDebug('NUMBER:' + job.nextBuildNumber)
|
||||
//job.getLastBuild().delete()
|
||||
//item.updateNextBuildNumber(job.nextBuildNumber - 1)
|
||||
job.save()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user