5

We have been using Rebuilder plugin (https://wiki.jenkins.io/display/JENKINS/Rebuild+Plugin) on our Jenkins and see a lot of value with that.

However, I dont see the "Rebuild" / "Rebuild with parameters" action for pipeline jobs. Am I missing a configuration / version?

If you know of any other plugin that allows re-building a pipeline job, with an ability to modify the parameters, defaulting to parameters of last run, that would be good too.

We are using Jenkins "CloudBees Jenkins Enterprise 2.46.24.0.2-fixed". Rebuilder plugin version is 1.25

Screenshots for both types of job here:

enter image description here

Ram
  • 173
  • 2
  • 11
  • We're using Rebuilder v1.28. Works as expected - also for Pipeline and Multibranch Pipeline jobs. Did you check the Jenkins log? Maybe there has been some error while loading the plugin? – Joerg S Aug 08 '18 at 16:44
  • @JoergS with Rebuilder Version 1.34 I still can't see "Rebuild Last" in the Pipeline Project view. – Noam Manos Mar 27 '23 at 16:24
  • @NoamManos: Sorry I think my comment was misleading. Please check the answer from which was marked as solution. This is how it works for us, too. – Joerg S Mar 29 '23 at 18:25

3 Answers3

6

For a Pipeline job, the rebuild option does not come at the job level. Rather it comes at job execution instance level. Click on build number to go that execution, and the option will show up, as per screenshot below: enter image description here

Ram
  • 173
  • 2
  • 11
0

go to the console output page for the respective build number, on the left you would have an option by name "replay".

Ashokekumar S
  • 351
  • 3
  • 7
  • 1
    A replay does not allow to provide alternate values for parameters, and correspondingly does not fulfill my needs – Ram Aug 14 '18 at 18:56
0

I had the same problem when I was not logged in to jenkins (due VPN disconnection and reconnection). Logging in to jenkins via the top right link solved the issue for me

Christophe
  • 597
  • 4
  • 14