Environment
```text
Jenkinsfile as used on ci.jenkins.io and other CI environments
```
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu Linux 22.04
Reproduction steps
Confirm that the Jenkinsfile is using publishCoverage instead of recordCoverage. See the code coverage api plugin for the note that the publishCoverage task is deprecated
Expected Results
Use recordCoverage to report code coverage results rather than using publishCoverage so that we can eventually remove the code coverage API plugin from ci.jenkins.io
Actual Results
publishCoverage is used instead of recordCoverage.
Jenkins and plugins versions report
Environment
```text Jenkinsfile as used on ci.jenkins.io and other CI environments ```What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu Linux 22.04
Reproduction steps
publishCoverage
instead ofrecordCoverage
. See the code coverage api plugin for the note that thepublishCoverage
task is deprecatedExpected Results
Use
recordCoverage
to report code coverage results rather than usingpublishCoverage
so that we can eventually remove the code coverage API plugin from ci.jenkins.ioActual Results
publishCoverage
is used instead ofrecordCoverage
.Anything else?
N/A
Are you interested in contributing a fix?
No response