Skip to content
Jenkins
Manage Jenkins
Jenkins CLI
Command set-next-build-number
Search
Sign in
Manage Jenkins
System Configuration
Nodes
Appearance
Lockable Resources
Status Information
Load Statistics
Tools and Actions
Jenkins CLI
Command set-next-build-number
Set build number to be used for next build.
Command
java -jar jenkins-cli.jar -s https://dvs1.progwml6.com/jenkins/ set-next-build-number JOB BUILD_NUMBER
JOB : Name of the job BUILD_NUMBER : Next build number