-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
p4 v1.4.10
With v1.4.10 I get the following exception inside job console:
java.lang.UnsupportedOperationException: no known implementation of class org.jenkinsci.plugins.p4.filters.Filter is named FilterPollMasterImpl
My Jenkinsfile contains the following:
checkout([$class: 'PerforceScm', credential: 'p4user', filter: [[$class: 'FilterPollMasterImpl', master: true]], populate: [$class: 'AutoCleanImpl', delete: true, modtime: false, parallel: [enable: false], pin: '', quiet: true, replace: true], workspace: [$class: 'StreamWorkspaceImpl', charset: 'none', format: 'jenkins_${NODE_NAME}_${JOB_NAME}', pinHost: false, streamName: streamName] ] )
So what has happened with polling on the master? How do I change Jenkinsfile and/or Jenkins itself? I have freestyle jobs and pipelines; removing
filter: [[$class: 'FilterPollMasterImpl', master: true]],
from the Jenkinsfile makes that error stated above go away. But no jobs are inserted into the build queue anymore with v1.4.10.
Therefore I have switched back to v1.4.9.