Skip to content

RFC: support for ENV to filter out PR builds #251

@cdaringe

Description

@cdaringe

What feature do you want to see added?

My job runs builds against commits into the associated branch and PR builds against the associated branch,
but I have no capable filter to remove PR builds.

It would be great to use something like ENV vars (vs just build params):

/buildStatus/icon?job=foo%2Fbar&build=lastCompleted:${env.TRIGGER_BRANCH=main}

such that my PR builds in my job are not used for the badge.

Upstream changes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions