-
Bug
-
Resolution: Fixed
-
Trivial
-
None
-
Platform: PC, OS: Windows NT
Hi,
I am using Hudson 1.261 for CI in our project. Our source code repository is in
Microsoft VSS. However when the job is run with VSS configured, it gives the
following exception.
started
FATAL: hudson.maven.MavenModuleSetBuild
java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild
at scm.vss.VSSSCM.checkout(VSSSCM.java:227)
at hudson.model.AbstractProject.checkout(AbstractProject.java:666)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
at hudson.model.Run.run(Run.java:817)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:89)
Please provide a solution to this.
Thanks in advance,
Shashi
- is related to
-
JENKINS-5404 VSS Fails to Poll with ClassCastException
-
- Resolved
-
Reading the source code [1], it seems that this issue has already been fixed in the 1.3 release of the vss plugin, in the same way that
JENKINS-5404has been fixed (by casting to AbstractBuild)[1] https://svn.jenkins-ci.org/trunk/hudson/plugins/vss/src/main/java/scm/vss/