Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exclude branches #11

Open
mfosseprez opened this issue Apr 11, 2019 · 2 comments
Open

How to exclude branches #11

mfosseprez opened this issue Apr 11, 2019 · 2 comments

Comments

@mfosseprez
Copy link

The plugin works fine, but I want to exclude all branches that starts with fix/.

In the Exclude Branches field, I wrote fix/*, but it doesn't work.

Releases are still started when someone perform a commit on this kind of branch.

How can I remove the trigger from all these branchs?

Regards

@jpflug
Copy link
Contributor

jpflug commented Apr 11, 2019

Hi, the trigger is not currently set up to support wildcards for excluded branches. You can see the line responsible for this trigger here

if branch["displayId"] not in excludeBranches.strip(" ").strip(",").split(","):

A couple options for workaround: 1) you can trigger only off of a specific branch i.e. master 2) fork the repository and modify the line linked above.

We are currently adding some additional functionality to this plugin and can include this as a feature request but I cannot give you an ETA for when that will be completed.

@mfosseprez
Copy link
Author

Hi, thanks for the answer.

Yes, if you could add this feature to the plugin in the future, that would be great. No matter when.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants