How to rebuild Jenkins pipeline

点点圈 提交于 2019-12-24 10:46:07

问题


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:


回答1:


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:




回答2:


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



来源:https://stackoverflow.com/questions/51750518/how-to-rebuild-jenkins-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!