Skip to content

Instantly share code, notes, and snippets.

@chethanbandi
Created June 20, 2016 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chethanbandi/bdd4c01a92587912cb5e8910e9a5b8ee to your computer and use it in GitHub Desktop.
Save chethanbandi/bdd4c01a92587912cb5e8910e9a5b8ee to your computer and use it in GitHub Desktop.
jenkins-nextbuild
//If you have access to the script console (Manage Jenkins -> Script Console), then you can do this following:
Jenkins.instance.getItemByFullName("YourJobName").updateNextBuildNumber(45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment