It's all about the answers!

Ask a question

Error in Jenkin deploy: Loading the directories in the file system would overwrite/remove existing directories.


guti2k zoplas (111) | asked Mar 08 '17, 3:19 a.m.
edited Mar 08 '17, 3:32 a.m. by Ralph Schoon (60.9k33643)
Hi guys,

i have this message error in Jenkin console :" ERROR: RTC : checkout failure: RTC : checkout failure: Loading the directories in the file system would overwrite/remove existing directories. /SQLJJavaSource (requested to be loaded from both component driv02Batch and driv01Batch)".

I try to solved it but i have not idea whats happends.... Any solution or idea? 

Thanks and regards

Comments
Ralph Schoon commented Mar 08 '17, 3:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 How should I ask a question in the Forum if I want to receive useful answers?


Check where the files would be loaded, make sure the folder is new and does not already exist. Configure the load process to delete the folders before loading.


guti2k zoplas commented Mar 08 '17, 5:01 a.m. | edited Mar 08 '17, 5:17 a.m.

 hi Ralph, 


how can do: "Configure the load process to delete the folders before loading." Im totally new with jenkin. This is a parametrer?

Thanks guys.

One answer



permanent link
Ralph Schoon (60.9k33643) | answered Mar 08 '17, 5:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You don't provide any information here except that you use Jenkins and that RTC is involved can be seen in the error message. Please read:  How should I ask a question in the Forum if I want to receive useful answers? and provide some basic information as requested.

You use some Jenkins and some RTC and some Integration between them - you did not provide any such information. 

RTC loads the SCM data into a sandbx. There are various things that can go wrong, that can cause the error above. One reason might be that the load location contains something else loaded and there is some kind of conflict in loaded folders. So what the reason is I can not tell. Try loading the same from RTC and make sure there is no folder overlap. Check your Jenkins/RTC integration and make sure everything works fine.

Simply Googling for parts of your error message show these interesting hints:


The documentation for the integration can be found here: https://wiki.jenkins-ci.org/display/JENKINS/Team+Concert+Plugin


Comments
Ralph Schoon commented Mar 08 '17, 5:28 a.m. | edited Mar 08 '17, 5:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

PS: there is an option to delete the load folder in the RTC and the Jenkins RTC configuration (as far as I remember) before loading that might or might not help. It depends of the cause of the load failure. If you have overlap in the components of the workspace then it does not help and you need to fix that. If deleting the folder helps, consider to have different folders for each Jenkins Job and avoid loading in folds created by other Jobs.

Your answer


Register or to post your answer.