Branch: refs/heads/master Home: https://github.com/jenkinsci/promoted-builds-plugin Commit: 043d1a564f53c25f050ed2871f72135cbb331c6f https://github.com/jenkinsci/promoted-builds-plugin/commit/043d1a564f53c25f050ed2871f72135cbb331c6f Author: Devin Nusbaum <dwnusb...@users.noreply.github.com> Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths: M pom.xml M src/main/java/hudson/plugins/promoted_builds/Promotion.java A src/main/java/hudson/plugins/promoted_builds/PromotionRebuildValidator.java A src/test/java/hudson/plugins/promoted_builds/PromotionRebuildValidatorTest.java A src/test/java/hudson/plugins/promoted_builds/PromotionTest.java Log Message: ----------- [JENKINS-22068] Fail promotion builds instead of hanging when a promotion is built/rebuilt directly (#107) * Prevent RebuildAction from being added to future promotions * Remove deserialized RebuildActions from Promotions * Make promotion builds fail instead of hang when there is no target, and keep promotions from being rebuilt directly * Keep related code grouped together * Add test for PromotionRebuildValidator * Add logging to post2 and move null check to start of method * Add test asserting that rebuilding a promotion directly throws a 404 -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.