Skip to content

Disable build replay/rerun at runtimeΒ #11322

@bdcarr

Description

@bdcarr

What feature do you want to see added?

Hello, we have a test pipeline that can be triggered off a PR, using a temporary app server that is destroyed at the end of the test. The DNS to access that server is passed to the pipeline as a parameter.

If someone needs to rerun those tests, we have a specific method for doing that while generating a new server, but people are so used to opening Blue Ocean and hitting the 'rerun' button that it's hard to get them to notice the correct method.

It'd be really lovely if we could have something in our pipeline code like:

if (isTemporaryDns) {
  disableRerunningThisBuild()
}

Then it'd force people into looking around a bit, or at least asking for help instead of rerunning the build with the DNS that no longer exists and wondering why it keeps failing.

Upstream changes

No response

Are you interested in contributing this feature?

Contributing to open source is good and right but I barely have time to write this request, sorry. Completely understand that I'm at your mercy here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions