github-pr-coverage-status-plugin icon indicating copy to clipboard operation
github-pr-coverage-status-plugin copied to clipboard

Feature: Make commit status context configurable

Open HaoTanAtMLB opened this issue 5 years ago • 2 comments

The Github commit status is currently hard coded to test-coverage-plugin. It would be great if that is a optional parameter when calling the plugin. For example:

step([
    $class: 'CompareCoverageAction', 
    jacocoCounterType: 'INSTRUCTION', 
    publishResultAs: 'statusCheck', 
    statusContext: 'my-custom-commit-status-context', 
    scmVars: [GIT_URL: env.GIT_URL]
])

HaoTanAtMLB avatar Aug 13 '19 22:08 HaoTanAtMLB