Question
When I go to my CI workspace, I notice that the .Java folder is not yielding any sources. As a result, the BuildSources project in Jenkins is not generating any sources for our Jobs. How can we populate/generate the Jobs that we are trying to generate?
Answer
-
Update the configuration to use the same user for Jenkins and CommandLine execution.
Permissions play a crucial role here, and to avoid any writing or permission issues, assign the same owner to each of the folders in the entire Talend suite and Jenkins.
-
Ensure that all workspaces are owned by the same user.
You generally have two workspaces: a CommandLine workspace and a Jenkins workspace. Ensure that both of these have the same owner and are properly referenced in the configurations for the Jenkins project.