Merge "Add support for policy-violations for view columns"

This commit is contained in:
Zuul 2018-05-25 05:30:23 +00:00 committed by Gerrit Code Review
commit 307c09cff3
3 changed files with 5 additions and 0 deletions

View File

@ -245,6 +245,9 @@ COLUMN_DICT = {
'priority-sorter': 'jenkins.advancedqueue.PrioritySorterJobColumn', 'priority-sorter': 'jenkins.advancedqueue.PrioritySorterJobColumn',
'build-filter': 'hudson.views.BuildFilterColumn', 'build-filter': 'hudson.views.BuildFilterColumn',
'desc': 'jenkins.branch.DescriptionColumn', 'desc': 'jenkins.branch.DescriptionColumn',
'policy-violations':
'com.sonatype.insight.ci.hudson.QualityColumn '
'plugin="sonatype-clm-ci"',
} }
DEFAULT_COLUMNS = ['status', 'weather', 'job', 'last-success', 'last-failure', DEFAULT_COLUMNS = ['status', 'weather', 'job', 'last-success', 'last-failure',
'last-duration', 'build-button'] 'last-duration', 'build-button']

View File

@ -29,6 +29,7 @@
<jenkins.advancedqueue.PrioritySorterJobColumn/> <jenkins.advancedqueue.PrioritySorterJobColumn/>
<hudson.views.BuildFilterColumn/> <hudson.views.BuildFilterColumn/>
<jenkins.branch.DescriptionColumn/> <jenkins.branch.DescriptionColumn/>
<com.sonatype.insight.ci.hudson.QualityColumn plugin="sonatype-clm-ci"/>
</columns> </columns>
<recurse>true</recurse> <recurse>true</recurse>
<statusFilter>false</statusFilter> <statusFilter>false</statusFilter>

View File

@ -24,5 +24,6 @@ columns:
- priority-sorter - priority-sorter
- build-filter - build-filter
- desc - desc
- policy-violations
recurse: true recurse: true
status-filter: false status-filter: false