Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14905

Make "Rebuild" button available for builds before plugin installation time

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: rebuild-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.478 on Ubuntu 12.04.
    • Similar Issues:

      Description

      Currently, the "Rebuild" button is only available for builds that have finished after the Rebuild plug-in was installed. If technically possible, it would be very nice to be able to rebuild any past build, also those that were built before the plug-in was installed.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rinokadijk
          Path:
          src/main/java/com/sonyericsson/rebuild/RebuildAction.java
          src/main/java/com/sonyericsson/rebuild/RebuildActionFactory.java
          src/main/java/com/sonyericsson/rebuild/RebuildLastCompletedBuildAction.java
          src/main/java/com/sonyericsson/rebuild/RebuildProjectActionFactory.java
          src/main/java/com/sonyericsson/rebuild/Rebuilder.java
          src/test/java/com/sonyericsson/rebuild/RebuildValidatorTest.java
          http://jenkins-ci.org/commit/rebuild-plugin/da8dc719490747641822383b1b9299fa3bf9ce9f
          Log:
          -Fixed (RebuildActionFactory): JENKINS-14905 Make "Rebuild" button available for builds before plugin installation time
          -Fixed in test: JENKINS-14387 Cause of rebuilt job should be Cause.UserIdCause
          -Added new feature: Rebuild Last on project level (see attached screenshot)
          -Added HtmlUnit test to validate Rebuild and Rebuild links

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rinokadijk Path: src/main/java/com/sonyericsson/rebuild/RebuildAction.java src/main/java/com/sonyericsson/rebuild/RebuildActionFactory.java src/main/java/com/sonyericsson/rebuild/RebuildLastCompletedBuildAction.java src/main/java/com/sonyericsson/rebuild/RebuildProjectActionFactory.java src/main/java/com/sonyericsson/rebuild/Rebuilder.java src/test/java/com/sonyericsson/rebuild/RebuildValidatorTest.java http://jenkins-ci.org/commit/rebuild-plugin/da8dc719490747641822383b1b9299fa3bf9ce9f Log: -Fixed (RebuildActionFactory): JENKINS-14905 Make "Rebuild" button available for builds before plugin installation time -Fixed in test: JENKINS-14387 Cause of rebuilt job should be Cause.UserIdCause -Added new feature: Rebuild Last on project level (see attached screenshot) -Added HtmlUnit test to validate Rebuild and Rebuild links
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: shemeersulaiman
          Path:
          src/main/java/com/sonyericsson/rebuild/RebuildAction.java
          src/main/java/com/sonyericsson/rebuild/RebuildActionFactory.java
          src/main/java/com/sonyericsson/rebuild/RebuildLastCompletedBuildAction.java
          src/main/java/com/sonyericsson/rebuild/RebuildProjectActionFactory.java
          src/main/java/com/sonyericsson/rebuild/RebuildValidator.java
          src/main/java/com/sonyericsson/rebuild/Rebuilder.java
          src/test/java/com/sonyericsson/rebuild/RebuildValidatorTest.java
          http://jenkins-ci.org/commit/rebuild-plugin/1bcd410a6585210b17053659ed411926632f3d46
          Log:
          Merge pull request #5 from rinokadijk/master

          "Rebuild Last" Action and JENKINS-14905

          Compare: https://github.com/jenkinsci/rebuild-plugin/compare/3f147ceb5cbc...1bcd410a6585


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: shemeersulaiman Path: src/main/java/com/sonyericsson/rebuild/RebuildAction.java src/main/java/com/sonyericsson/rebuild/RebuildActionFactory.java src/main/java/com/sonyericsson/rebuild/RebuildLastCompletedBuildAction.java src/main/java/com/sonyericsson/rebuild/RebuildProjectActionFactory.java src/main/java/com/sonyericsson/rebuild/RebuildValidator.java src/main/java/com/sonyericsson/rebuild/Rebuilder.java src/test/java/com/sonyericsson/rebuild/RebuildValidatorTest.java http://jenkins-ci.org/commit/rebuild-plugin/1bcd410a6585210b17053659ed411926632f3d46 Log: Merge pull request #5 from rinokadijk/master "Rebuild Last" Action and JENKINS-14905 Compare: https://github.com/jenkinsci/rebuild-plugin/compare/3f147ceb5cbc...1bcd410a6585 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sschuberth Sebastian Schuberth
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: