• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • rebuild-plugin
    • None

      If you load the page for a job, the rebuild last link points to specific, which is the last build at the time of page load. However, if the page is left open, other builds can be run in that time. This invalidates the link, since it is now no longer pointing to the last build.

      The Rebuild Last button should point to /

      {JOB_NAME}/lastBuild/rebuild rather than /{JOB_NAME}

      /

      {JOB_ID}

      /rebuild. This ensures it will always rebuild the last build.

      I will submit a pull request, but after a quick glance, it looks like the change needs to happen in the RebuildLastCompletedBuildAction.getUrlName() method.

          [JENKINS-22836] Rebuild Last link out of date

          porterhouse91 created issue -
          Marc Günther made changes -
          Link New: This issue is duplicated by JENKINS-24017 [ JENKINS-24017 ]
          Rino made changes -
          Assignee Original: ragesh_nair [ ragesh_nair ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154973 ] New: JNJira + In-Review [ 195097 ]

            Unassigned Unassigned
            porterhouse91 porterhouse91
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: