jenkinsci / code-coverage-api-plugin

Deprecated Jenkins Code Coverage Plugin
https://plugins.jenkins.io/code-coverage-api/
MIT License
111 stars 77 forks source link

Charts not shown anymore in Jenkins #714

Closed christophweser closed 1 year ago

christophweser commented 1 year ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

Tried on Win 10 and Win 11 on Edge and Chrome. All with same result.

Jenkins Version 2.410 Code Coverage API Plugin Version 4.7.0

Reproduction steps

Step 1: Just open Jacoco code coverage in Jenkins.

Expected Results

See charts

Actual Results

Only see line coverage but no further chars. See image Everywhere it's marked red the charts are not working.

Screenshot 2023-06-20 083343

Anything else?

Any help is highly appreciated.

(Of course tried restarting server and cleaning browser caches.)

uhafner commented 1 year ago

From the color of the charts it looks like you are still using the old and deprecated step. Please upgrade to the latest step to get all new features. The old step is not supported anymore.

christophweser commented 1 year ago

Hello,

highly appreciate your fast reply.

What do you mean by "step"? I'm using the latest available Jenkins version and the latest available Plugin?

Thanks, Christoph

uhafner commented 1 year ago

Step is the basic unit of work in Jenkins, see

How did you set up the coverage in Jenkins?

christophweser commented 1 year ago

I wish I had noticed the yellow part earlier to then get the idea looking for a new post build action by myself. That would have saved you some time you spent in me.

image

Thanks a lot for your help.