You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Can probably be solved by defining the configuration in a pipeline or job dsl, see readme.
Thank you for quick reply. If i take that path, i would need to change 50 jenkinsfile hence looking for an option in job config which is in my control.
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})*?
The text was updated successfully, but these errors were encountered: