This is a simple plugin that changes the next build number Jenkins will use for a job.
This functionality is useful if you are using the build number as part of a version string, but you do a build outside of Jenkins and you want to skip that number for the next build to avoid duplicate version numbers.
Jenkins requires that build numbers are always increasing. When you click on the link installed by this plugin, a text field will be shown that contains the next build number to be used. You can change this number to be anything larger than this value. Changing this to a smaller number will do nothing.
This plugin exposes CLI command set-next-build-number with the same functionality.
Add CLI command (issue #14406)
Skip to end of metadata Go to start of metadata