-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.478 on Ubuntu 12.04.
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.
[JENKINS-14905] Make "Rebuild" button available for builds before plugin installation time
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Assignee | Original: ragesh_nair [ ragesh_nair ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 145606 ] | New: JNJira + In-Review [ 191560 ] |
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-14905Make "Rebuild" button available for builds before plugin installation time-Fixed in test:
JENKINS-14387Cause 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