I am working on a Jenkinsfile for use with Jenkins 2.0. The readMavenPom
method is not recognized. Is there some configuration I am missing to make this available
I needed to install the pipeline-utility-steps
plugin.
Before you use this step, note the below from writeMavenPom/readMavenPom documentation:
Avoid using this step and readMavenPom. It is better to use the sh step to run mvn goals
https://www.jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#writemavenpom-write-a-maven-project-file