Skip to content

Instantly share code, notes, and snippets.

@ikennaokpala
Last active August 4, 2017 07:57
Show Gist options
  • Select an option

  • Save ikennaokpala/0edd2ee9708d9849c202347b93a79a68 to your computer and use it in GitHub Desktop.

Select an option

Save ikennaokpala/0edd2ee9708d9849c202347b93a79a68 to your computer and use it in GitHub Desktop.

Revisions

  1. ikennaokpala renamed this gist Aug 4, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ikennaokpala renamed this gist Aug 4, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions set_next_build_number.sh → set_next_build_number.java
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    // Go to https://ci.integration.publishing.service.gov.uk/script and paste the code below

    job = Jenkins.getInstance().getItemByFullName("smartanswers/master", Job.class)
    job.nextBuildNumber = 3694
    job.saveNextBuildNumber()
  3. ikennaokpala created this gist Aug 3, 2017.
    3 changes: 3 additions & 0 deletions set_next_build_number.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    job = Jenkins.getInstance().getItemByFullName("smartanswers/master", Job.class)
    job.nextBuildNumber = 3694
    job.saveNextBuildNumber()