Polling fails in GIT plugin 1.1.1

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Since upgrading to the Git plugin version 1.1.1, polling no longer works. The following error is displayed in the polling log for all projects using the git scm plugin:

      Started on Nov 8, 2010 12:45:58 PM
      Using strategy: Default
      [poll] Last Build : #1014
      [poll] Last Built Revision: Revision 694552cd898421418e8b06235dfb00b676a8ed7a (origin/master)
      ERROR: Failed to record SCM polling
      java.lang.ClassCastException: hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
      at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:170)
      at hudson.plugins.git.GitSCM.pollChanges(GitSCM.java:428)
      at hudson.scm.SCM.poll(SCM.java:374)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1232)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:417)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:446)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

      Everything works as expected when downgrading back to version 1.1 of the plugin

            Assignee:
            Andrew Bayer
            Reporter:
            Grant Limberg
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: