Support for running Coverity in a Jenkins Pipeline has been added in release 1.10.0 with the pipeline steps `coverityResults` and `withCoverityEnv`. Coverity tools have been moved to a 'ToolInstallation' (Global Tool Configuration) and can be used with the 'tool' step.
The decision was made to create an entirely new publisher (coverityResults) instead of re-working the existing CoverityPublisher (which does quite a bit more than get results from Coverity Connect). The new publisher only retrieves issues from a configured Coverity Connect Instance, Project, and View (filtering would be done within the Coverity Connect UI).
The build, analyze, commit commands are no longer automatically run, but tools can be scripted when accessed through the 'withCoverityEnv' or 'tool' steps.
See https://github.com/jenkinsci/coverity-plugin#pipeline-setup for complete details
Code changed in jenkins
User: Jesse Glick
Path:
COMPATIBILITY.md
http://jenkins-ci.org/commit/workflow-plugin/2637aebf1e721a2f5e492530d7b796b34306c455
Log:
JENKINS-32353JENKINS-32354JENKINS-32355 Merging #293.Compare: https://github.com/jenkinsci/workflow-plugin/compare/5f392fbd9b2a...2637aebf1e72