-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Jenkins 1.620
multiple-scms 0.4
mercurial 1.54
template-project 1.4.2
Jobs which uses 1 Mercurial + 3 Git repositories (via Use SCM from another project template plugin's option) often failing with below error. If I restart job without any changes it building ok. So error is not happening all the time, but still happens often enough. I don't see such errors in other jobs which using multiple Mercurial repos or multiple Git repos. We only recently created jobs which need mix of Mercurial and Git repos, I haven’t seen such error before. It happening on different linux and windows slaves.
For Mercurial repository caching and sharing are enabled.
It looks like it depends on slave load - when slave is not doing anything job is running ok, when there are other jobs running on slave, job is failing.
Deleting project workspace... done
FATAL: hudson.plugins.mercurial.MercurialTagAction cannot be cast to org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState
java.lang.ClassCastException: hudson.plugins.mercurial.MercurialTagAction cannot be cast to org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState
at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:106)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.plugins.templateproject.ProxySCM.checkout(ProxySCM.java:53)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1282)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Archiving artifacts
- is related to
-
JENKINS-27638 GIT : Fatal : ClassCastException: hudson.scm.SCMRevisionState$None cannot be cast to org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState
- Closed