ros-industrial / jenkins_config

Contains jenkins CI configuration scripts.
4 stars 6 forks source link

jenkins.model.InvalidBuildsDir: #24

Closed rajeshgond008 closed 5 years ago

rajeshgond008 commented 5 years ago

sudo service jenkins stop sudo mv /var/lib/jenkins /home sudo ln -s /home/jenkins /var/lib/jenkins sudo service jenkins start

After changing home directory of jenkins its given below error

Error jenkins.model.InvalidBuildsDir: ${ITEM_ROOTDIR}/builds does not exist and probably cannot be created at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3087) at jenkins.model.Jenkins.loadConfig(Jenkins.java:3011) Caused: java.io.IOException at jenkins.model.Jenkins.loadConfig(Jenkins.java:3014) at jenkins.model.Jenkins.access$1300(Jenkins.java:304) at jenkins.model.Jenkins$13.run(Jenkins.java:3106) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1068) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused: org.jvnet.hudson.reactor.ReactorException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282) at jenkins.InitReactorRunner.run(InitReactorRunner.java:48) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1102) at jenkins.model.Jenkins.(Jenkins.java:904) at hudson.model.Hudson.(Hudson.java:85) at hudson.model.Hudson.(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:233) Caused: hudson.util.HudsonFailedToLoad at hudson.WebAppMain$3.run(WebAppMain.java:250)

rajeshgond008 commented 5 years ago

Please help me ...

gavanderhoorn commented 5 years ago

I'm not sure if this is the right place to ask for help:

and so on.

I'm going to close this for now, but if you feel that is not correct, please re-open and provide additional context so that we can understand what you're actually trying to do.

Do feel free to keep commenting on the issue btw.