Jack Newcombe would love to help with the documentation, but for that to happen I need to know if it is at all possible to use this plug-in in a Pipeline. What is the Step that needs to be added into the Jenkinsfile?
Hi Idan Adar
There isn't built in support for the DSL yet, but you can use the step syntax to setup the step:
https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#understanding-syntax-1
I'm afraid I haven't tried yet, but if you get it working please post back, and also feel free to submit a PR with documentation!
Cheers,
Jack
Thanks, but this is still not enough to go on with.
What do I need to use as part of the step syntax? Any key words? Command name?
In it actual form github-coverage-reporter-plugin cannot be used in Jenkinsfile, because it cannot get environment variable dynamically. I created a PR to add Jenkinsfile support: https://github.com/jenkinsci/github-coverage-reporter-plugin/pull/6/files
The above PR has now been merged.