-
New Feature
-
Resolution: Unresolved
-
Minor
What?
I would like add an include feature to pipeline-groovy-lib-plugin
My use case is that I have some stable tags which I would like cached, but all other branches (used in development of library) should be excluded. Since there is only a chance to exclude and no chance to use regular expressions to say "exclude anything but the following tags" it is not possible.
Having an include field would make this easy.
Thoughts
- Would having both exclude and include be confusing?
- we can say they are mutually exclusive and that, in the case that both are filled, exclude takes precedence
- Any backwards compatibility issues?
- none that I can see, since the default value will be empty anyway.
I am more than happy to add the PR myself