readMavenPom gone from Pipeline Utility Steps?

432 views
Skip to first unread message

KeithC

unread,
Jan 4, 2019, 3:35:10 PM1/4/19
to Jenkins Users
With version 2.2.0 of Pipeline Utility Steps, I appear to be unable to call "readMavenPom" from my Jenkinsfile.  The build log has an error:
java.lang.NoSuchMethodError: No such DSL method 'readMavenPom' found among steps

I can file a bug, but I wanted to verify that I wasn't missing something.


Jan Monterrubio

unread,
Jan 4, 2019, 4:23:08 PM1/4/19
to jenkins...@googlegroups.com
Do you get a list of valid steps? I’ve found that sometimes I put be wrong dsl construct so the suggested methods will give me less options and I’ll realize I’m not in a step but within a stage or vice versa. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e1f8265-c4e4-4c6b-8c9f-cead83780c3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

KeithC

unread,
Jan 4, 2019, 4:26:54 PM1/4/19
to Jenkins Users
I do get a list of valid steps, and readMavenPom was not included among them.  Nor does it show up in the pipeline editor.

The same pipeline script worked fine prior to the Pipeline Utlity Steps upgrade.  Further, downgrading Pipeline Utility Steps to the previous version made the problem go away.
Reply all
Reply to author
Forward
0 new messages