Skip to content
Jenkins
Manage Jenkins
Jenkins CLI
Command set-next-build-number
Search
Sign in
Manage Jenkins
System Configuration
Nodes
Appearance
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://igserver.ddns.net/jenkins/ set-next-build-number JOB BUILD_NUMBER
JOB : Name of the job BUILD_NUMBER : Next build number