jenkinsci / categorized-view-plugin

This is a plugin to create a new view named Categorized Jobs View, where jobs are grouped dynamically by regular expressions
https://plugins.jenkins.io/categorized-view/
GNU General Public License v3.0
11 stars 23 forks source link

Inconsistent naming with multibranch pipelines #14

Open FrigoCoder opened 5 years ago

FrigoCoder commented 5 years ago

We have a multibranch pipeline Commons with master, test, release branches, and two supporting freeform jobs Commons-dev-to-test and Commons-test-to-prod.

When I include them into a categorized view with the regex Commons.* all of them show:

comons_include

However when I try to group them with the regex (Commons).* the branches are not included:

commons_group_commons

When I use the more generic regex ^([A-Za-z]+).*$ the branches are categorized incorrectly:

commons_group_generic

The "Categorize by display name?" option has no effect whatsoever.

firehist commented 5 years ago

Up, is there any way to group them by job name?

TwoStone commented 4 years ago

We've the same problem. It seems that the regex is only evaluated on the last part of the jobs name (i. e. master) and not on the fullname. This is inconsistent with the regex you can enter to select the jobs for the view.