• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • core, scm-api-plugin
    • None

      We need to be able to rebuild commits/builds.

      * On the build results page, one of the options in the left menu should be "Rebuild Commit" or "Try Again" or "Run Again". When I click that button, that build should re-run on the same commit and branch of the original build. Build number would still increment.

      • When I'm on a project's page, with the build history on the left, when I click the arrow to the right of a build name/number, and the action menu pops up, the same "Rebuild Commit"/"Try Again"/"Run Again" option should be available.

      We have one build per repository. Builds trigger whenever a change is pushed to any branch in a repository (e.g. our branch specifier is "origin/**"). When a build fails for a reason that has nothing to do with code in the repository (e.g. disk fills up, some external resource is temporarily down, etc.), the only way to re-build that branch is to make some change to the repository, usually adding/removing some whitespace. Most other build servers I've used (TeamCity and Appveyor) let you rebuild a commit.

      We do not use Jenkins pipelines, nor have any plans to do so.

          [JENKINS-49540] Rebuild Commit

          Aaron Jensen created issue -
          Oleg Nenashev made changes -
          Component/s New: scm-api-plugin [ 18054 ]
          Amit Nanaware made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Brian J Murrell made changes -
          Link New: This issue duplicates JENKINS-39218 [ JENKINS-39218 ]
          Brian J Murrell made changes -
          Comment [ This looks like a duplicate of JENKINS-39218. ]
          Brian J Murrell made changes -
          Link Original: This issue duplicates JENKINS-39218 [ JENKINS-39218 ]

            Unassigned Unassigned
            splatteredbits Aaron Jensen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: