Issue Type: Bug Bug
Assignee: Kevin Bell
Components: multiple-scms-plugin
Created: 26/Mar/15 11:55 PM
Description:

Using Jenkins vers: 1.594
Plugin vers: 0.4
Git vers: 2.3.5

I'm having trouble tracing the reproducibility on this, error copied below, but here's what I know so far:

  • My only experience with this is Git
  • Does not seem to affect brand new projects that have never been built, regardless if first config was singular or multi-scm
  • Does seem to affect projects that at first were singular SCM, then transition to Multi-SCM
  • If project was previously built and threw error, can config the project to have Multi-SCM selected, but with NO SCM chosen, this will throw a separate error, but then if you go back and re-set up with Git SCM chosen in Multi-SCM then it does work.
  • The value of "RevisionState" must be getting set, and reset somewhere to cause this to not-work, then eventually work, although I haven't found where, or what the correct combination is.

("singular" taken to mean just choosing Git SCM, NOT 1 repo of Git SCM within Multi-SCM option)

FATAL: hudson.scm.SCMRevisionState$None cannot be cast to org.jenkinsci.plugins.multiplescms.MultiSCMRevisionState
java.lang.ClassCastException: hudson.scm.SCMRevisionState$None 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:484)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1265)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
	at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:134)
	at hudson.model.Run.execute(Run.java:1759)
	at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)
Project: Jenkins
Priority: Critical Critical
Reporter: Brantone
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to