Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40124

missing master polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • p4-plugin
    • 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.

            p4paul Paul Allen
            heiko_nardmann Heiko Nardmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: