Skip to content

how to invoke global env variable (branch name) into Optional filter expression #315

Open
@radhikavelaga-aisera

Description

Explain your issue

I am trying to setup a build job with generic-webhook-trigger-plugin and i want to trigger build only if branch matches(branch name will change periodically and branch name will set at global level ). how to invoke global env variable (branch name) into Optional filter expression?

I am trying to like this but not working

Expression - ^(refs/heads/${env.release-branch-name})*?

Screenshot 2024-06-27 at 12 42 20 AM

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions