Jump to content

Trigger filter exact branch name


alchemist_wurzelpurzel

Recommended Posts

Hi all!

We are using after-checkin triggers to deploy builds via Jenkins when changes are made in certain branches. We have this working for a child branch of /main, but now we want to implement it for the /main branch itself. The issue is, when using br:/main as a filter, the trigger will fire for every child branch of /main when we only want it for changes in /main branch.

Is there a way to let it filter for an exact branch name match rather than filtering for if the branch name contains the filter?

Cheers!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...