You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
We are using the Poll SCM option to detect changes and trigger a build. We have the polling schedule set to * * * * *. However, Hudson doesn't detect any changes. Looking in the scm-polling.log file for a job shows this:
Started on Oct 15, 2010 1:00:10 PM
Using strategy: Default
[poll] Last Build : #120
[poll] Last Built Revision: Revision a61e9e1036da8561774871fc5ddadae43f68f128 (origin/master)
ERROR: Failed to record SCM polling
ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.lang.ClassCastException: hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:178)
at hudson.plugins.git.GitSCM.pollChanges(GitSCM.java:428)
at hudson.scm.SCM.poll(SCM.java:370)
at hudson.model.AbstractProject.poll(AbstractProject.java:1159)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:330)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:359)
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:619)
Seems like GitUtils.getPollEnvironment() tries to upcast the TaskListener to a BuildListener, with the NodeProperty.setUp() method requires.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are using the Poll SCM option to detect changes and trigger a build. We have the polling schedule set to * * * * *. However, Hudson doesn't detect any changes. Looking in the scm-polling.log file for a job shows this:
Started on Oct 15, 2010 1:00:10 PM
Using strategy: Default
[poll] Last Build : #120
[poll] Last Built Revision: Revision a61e9e1036da8561774871fc5ddadae43f68f128 (origin/master)
ERROR: Failed to record SCM polling
ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.lang.ClassCastException: hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:178)
at hudson.plugins.git.GitSCM.pollChanges(GitSCM.java:428)
at hudson.scm.SCM.poll(SCM.java:370)
at hudson.model.AbstractProject.poll(AbstractProject.java:1159)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:330)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:359)
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:619)
Seems like GitUtils.getPollEnvironment() tries to upcast the TaskListener to a BuildListener, with the NodeProperty.setUp() method requires.
The text was updated successfully, but these errors were encountered: