Add support for policy-violations for view columns

Change-Id: I61a08cc4586119466b04f86497c330873e5d582d
Signed-off-by: Anil Belur <askb23@gmail.com>
This commit is contained in:
Anil Belur 2018-05-22 16:39:26 +10:00
parent f37444423b
commit 9a1b25b0b5
No known key found for this signature in database
GPG Key ID: 0FAA11C1B55BFA62
3 changed files with 5 additions and 0 deletions

View File

@ -245,6 +245,9 @@ COLUMN_DICT = {
'priority-sorter': 'jenkins.advancedqueue.PrioritySorterJobColumn',
'build-filter': 'hudson.views.BuildFilterColumn',
'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',
'last-duration', 'build-button']

View File

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

View File

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