Created
February 21, 2021 14:14
-
-
Save nhojpatrick/5d6882a3ff97958c7685c8cdc2c38b0e to your computer and use it in GitHub Desktop.
Jenkins create listView with CodeCoverage and Regex pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listView('release job view') { | |
recurse() | |
jobs { | |
regex('.*_release') | |
} | |
columns { | |
status() | |
weather() | |
buildButton() | |
name() | |
lastSuccess() | |
lastFailure() | |
lastDuration() | |
} | |
configure { view -> | |
view / columns << 'io.jenkins.plugins.analysis.core.columns.IssuesTotalColumn' { | |
name('# Issues') | |
type('TOTAL') | |
} | |
view / columns << 'io.jenkins.plugins.coverage.CoverageColumn' { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment