5

I have a shared groovy library that provides some steps (in vars folder) for a Jenkins pipeline. For the steps I have groovy unit tests in place and want to calculate code coverage with them. I already have setup jacoco successfully and get coverage results for my objects (in src folder). However, jacoco is not calculating the coverage for the steps, because they are not on the class path.

Any idea how to get the coverage for this steps? Anyone who has experience with this?

StephenKing
  • 36,187
  • 11
  • 83
  • 112
Christopher
  • 1,103
  • 1
  • 6
  • 18

0 Answers0