Open timja opened 8 years ago
I can confirm that this bug is outstanding: I first experienced it using Jenkins version 1.624, then tried to update to 1.631 with no luck.
Here what I did:
[UPDATE]
I just noticed that the original creator of this ticket was speaking about something different: in my case the jobs configuration is loaded, but they never start. Sorry for my mistake in cloning it.
I managed to resolve the problem using the web interface, by doing the following:
I am not sure which of the two things resolved the problem; but the problem definitely happened after I changed the configuration.
After changing the 'Build Record Root Directory' from the default to 'H:\Application Data\Jenkins\${ITEM_FULLNAME}\builds' (a mapped drive) the existing job configuration will no longer load. All the job directories are there.
If I change it back to the default, all the job records are read.
Do I need to change anything else?
My C: drive is is 99% and we mus tbe able to move the builds directories to a larger disk.
This is an extract from the log:
21-May-2013 21:32:46 jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job CDW_CDW_2.0.0
java.lang.NullPointerException
at hudson.model.RunMap.load(RunMap.java:216)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:255)
at hudson.model.Items.load(Items.java:115)
at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145)
at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41)
at hudson.model.Job.onLoad(Job.java:194)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:252)
at hudson.model.Project.onLoad(Project.java:88)
at hudson.model.Items.load(Items.java:115)
at jenkins.model.Jenkins$15.run(Jenkins.java:2437)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Originally reported by robertoprevato, imported from: CLONE - Jobs not loading after changing 'Build Record Root Directory' under 'Manage Jenkins' page