Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Jenkins_error

Hi Talend Team,

 

I am setting up CI/CD for my project, I am facing the below error, Can't able to figure it out. Can you guys look into the issue?

 

[ERROR] Failed to execute goal org.talend:ci.builder:6.3.1:generate (default) on project buildsources: Fail to execute command: CreateProjectCommand createProject -pn 'GMP_CI' -pd 'from CI Builder' -pl 'java' -pa 'devharmantalend'  name GMP_CI description from CI Builder language java author devharmantalend: Have exceptions when execute the command: CreateProjectCommand createProject -pn 'GMP_CI' -pd 'from CI Builder' -pl 'java' -pa 'devharmantalend'  name GMP_CI description from CI Builder language java author devharmantalend: java.lang.RuntimeException: org.talend.commons.exception.PersistenceException: org.eclipse.core.runtime.CoreException: Parent of resource: /store1/CI_Builder/commandline_workspace_ci/GMP_CI/.project is marked as read-only.[ERROR] at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:201)[ERROR] at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)[ERROR] at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)[ERROR] at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)[ERROR] at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)[ERROR] at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)[ERROR] at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)[ERROR] at java.lang.Thread.run(Thread.java:745)[ERROR] Caused by: org.talend.commons.exception.PersistenceException: org.eclipse.core.runtime.CoreException: Parent of resource: /store1/CI_Builder/commandline_workspace_ci/GMP_CI/.project is marked as read-only.[ERROR] at org.talend.repository.localprovider.model.LocalRepositoryFactory.createProject(LocalRepositoryFactory.java:794)[ERROR] at org.talend.core.repository.model.ProxyRepositoryFactory.createProject(ProxyRepositoryFactory.java:474)[ERROR] at org.talend.commandline.util.RepositoryHandler.createProject(RepositoryHandler.java:196)[ERROR] at org.talend.commandline.command.execute.CreateProjectExecuteCommand.execute(CreateProjectExecuteCommand.java:80)[ERROR] at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:199)[ERROR] ... 7 more[ERROR] Caused by: org.eclipse.core.runtime.CoreException: Parent of resource: /store1/CI_Builder/commandline_workspace_ci/GMP_CI/.project is marked as read-only.[ERROR] at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)[ERROR] at org.eclipse.core.internal.filesystem.local.LocalFile.checkReadOnlyParent(LocalFile.java:74)[ERROR] at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:399)[JENKINS] Archiving /store1/CI_Builder/pom.xml to org.talend/buildsources/0.1/buildsources-0.1.pom[ERROR] at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1101)[ERROR] at org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:648)/store1/CI_Builder/pom.xml is not inside /store1/CI_Builder/commandline_workspace_ci/GMP_CI/store1/CI_Builder/; will archive in a separate pass[ERROR] at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1463)[ERROR] at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1444)[ERROR] at org.eclipse.core.internal.resources.Project.create(Project.java:313)[ERROR] at org.eclipse.core.internal.resources.Project.create(Project.java:269)[ERROR] at org.talend.repository.localprovider.model.LocalRepositoryFactory.createProject(LocalRepositoryFactory.java:789)[ERROR] ... 11 more[ERROR] Caused by: java.io.FileNotFoundException: /store1/CI_Builder/commandline_workspace_ci/GMP_CI/.project (Permission denied)[ERROR] at java.io.FileOutputStream.open0(Native Method)[ERROR] at java.io.FileOutputStream.open(FileOutputStream.java:270)[ERROR] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)[ERROR] at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:397)[ERROR] ... 18 more[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptionchannel stoppedFinished: FAILURE

 

Regards,

Goli Ramesh.

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello,

Could you please take a look at this article:https://community.talend.com/t5/Architecture-Best-Practices-and/Continuous-Integration-with-CodePipe...?

Best regards

Sabrina