gitlab-branch-source-plugin icon indicating copy to clipboard operation
gitlab-branch-source-plugin copied to clipboard

Support filtering branches based on last modification

Open skorhone opened this issue 4 years ago • 2 comments

Unfortunately it seems that not all developers remember to remove branches after merging them. It would be nice, if we would have an option to filter out branches based on last change.

skorhone avatar Jan 12 '21 10:01 skorhone

Hi, how can I help on this. Where can I find the doc to properly add a filter strategy to this plugin? I would like to add a feature to filter Aged refs like done by this plugin https://plugins.jenkins.io/github-scm-filter-aged-refs/.

ltozi avatar Feb 14 '22 14:02 ltozi

@ltozi since both libraries are using SCM API plugin you should be able to look at the SCM API plugin docs or infer from the GitHub plugin.

https://github.com/jenkinsci/scm-api-plugin/tree/master/docs

jetersen avatar Apr 18 '22 09:04 jetersen