I'm trying to duplicate a current Jenkins setup but I've run into problems
trying to get the copy working correctly.
Only the deploy jobs are displayed in the UIT and the logs show many of the
other jobs fail on job load.
Dec 08, 2014 12:15:15 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job WebApp-Common_Master
java.io.IOException: Unable to read
/var/lib/jenkins/jobs/WebApp-Common_Master/config.xml
at hudson.XmlFile.read(XmlFile.java:146)
at hudson.model.Items.load(Items.java:222)
...
at java.lang.Thread.run(Thread.java:745)
Caused by: com.thoughtworks.xstream.converters.ConversionException:
hudson.plugins.git.extensions.impl.C
leanCheckout cannot be cast to hudson.util.DescribableList :
hudson.plugins.git.extensions.impl.CleanChe
ckout cannot be cast to hudson.util.DescribableList
Debugging information
message : hudson.plugins.git.extensions.impl.CleanCheckout cannot
be cast to hudson.util.Des
cribableList
cause-exception : java.lang.ClassCastException
cause-message : hudson.plugins.git.extensions.impl.CleanCheckout cannot
be cast to hudson.util.Des
cribableList
class : hudson.util.DescribableList
required-type : hudson.plugins.git.extensions.impl.CleanCheckout
converter-type : hudson.util.DescribableList$ConverterImpl
path: /maven2-moduleset/scm/extensions
line number : 34
class[1]: hudson.plugins.git.GitSCM
converter-type[1] : hudson.util.RobustReflectionConverter
class[2]: hudson.maven.MavenModuleSet
version : not available
---
...
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
at hudson.XmlFile.read(XmlFile.java:142)
... 10 more
Caused by: java.lang.ClassCastException:
hudson.plugins.git.extensions.impl.CleanCheckout cannot be cast to
hudson.util.DescribableList
at
hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:266)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 32 more
The version of Jenkins is the same and the versions of Java are close (1.7.0_65
vs 1.7.0_71).
I created a copy by installing Jenkins from rpm, and then copying
/var/lib/Jenkins execluding the lower sub-directories in Jenkins/jobs to save
space.
What do I need to change to fix this?
The information contained in this e-mail and in any attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. This message has been scanned for known computer viruses.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/6EB112EDE53CB44EB4E232D2659E318151781C12%40SPPATLXCHMBX01.servers.global.prv.
For more options, visit https://groups.google.com/d/optout.