|
||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

configVersion 2 as been introduced with https://github.com/jenkinsci/perforce-plugin/commit/ea1acb177d01e4e311df9df1f8fc069ed0efd1c1, which is included in version 1.3.28 or later of the Perforce plugin. So you need to upgrade to at least that version.
I installed version 1.3.33 of the Perforce plugin and the following DSL script is working for me, no need for monkey patching:
job { name 'foo' scm { p4('testing') { node -> node / configVersion(2) node / p4Client("\${JOB_NAME}") node / p4Port("server:1666") node / disableChangeLogOnly(true) } } }