Possible to Replay/Rerun a Multibranch Pipeline build?

115 views
Skip to first unread message

JG

unread,
May 10, 2017, 9:11:34 AM5/10/17
to Jenkins Users
The BlueOcean UI has a replay button but clicking it doesn't seem to do anything. There doesn't appear to be a Replay in the classic build view. I loathe having "commit to trigger build" commits to rerun a build after fixing an environmental issue, so I really hope it's possible to replay/rerun a build.
jenkins-multibranch-blueocean-replay.png

JG

unread,
May 10, 2017, 10:27:39 AM5/10/17
to Jenkins Users
Looks like it was because the failed build I wanted to rerun failed parsing the Jenkinsfile (ie before running the checkout scm) and didn't record an SCM revision. Using the rerun on a build with a revision recorded seems to work. Have subsequently found this note in the official doc book. Pity because failure in this case could be due to declaring an option without having installed the plugin that provides it (such as timestamps). 
Reply all
Reply to author
Forward
0 new messages