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

Allow exclusion of jobs from icon-color selection #4

Closed Igorshp closed 7 years ago

Igorshp commented 9 years ago

It is alright for some jobs in a category, such as pull-request builder, to fail. The overall group icon should exclude these jobs to prevent confusion about project health.

I think it would be nice to be able to set exclude regex for the color icon.

https://github.com/jenkinsci/categorized-view-plugin/blob/master/src/main/java/org/jenkinsci/plugins/categorizedview/GroupTopLevelItem.java#L87

Thanks

willejs commented 9 years ago

:+1: @taksan any possibility of adding this feature?

taksan commented 9 years ago

@Igorshp Ok, I'll look into it. I think it might be a nice feature

Igorshp commented 9 years ago

@taksan awesome, thank you!

hubertgrzeskowiak commented 9 years ago

For my company I've written a JS snippet that follows these rules:

I think this way you get a nice overview over a whole category's status

taksan commented 7 years ago

I implemented a feature to exclude jobs from affecting the category status. You can now specify a regex for that.