Hi Guys,
I'm trying to update the Perforce 'p4' plugin to use Run/Job and not the old AbstractBuild/AbstractProject, but can't seem to access the SCM without an ugly cast. AbstractBuild<?, ?> build = (AbstractBuild<?, ?>) run; AbstractProject<?, ?> project = build.getProject(); PerforceScm scm = (PerforceScm) project.getScm(); Not all the methods seem to have been moved over: poll() and buildEnvVars() still use the older classes. I seem to remember reading that poll had been replaced, but can't find any docs. Any help would be most appreciated. Kind regards, Paul -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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.
