jenkinsci / github-pr-coverage-status-plugin

Nice test coverage icon for your pull requests just from Jenkins
https://plugins.jenkins.io/github-pr-coverage-status/
Apache License 2.0
93 stars 101 forks source link

Feature: Make commit status context configurable #76

Open HaoTanAtMLB opened 5 years ago

HaoTanAtMLB commented 5 years ago

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]
])
ferndot commented 4 years ago

This would be quite nice!

isokolovskii commented 4 years ago

Bump, would be great to have this kind of configuration