I have a Gradle project, which consists of a main project and 2 others that included a directive includeFlat. Each of these three projects has its own repo on GitHub. To build it, I check all 3 projects in the general top folder, and then cdin the main project and run gradle build. And it works great!
Now I need to deploy the resulting application on AWS EB (Elastic Beanstalk), which also works fine when I produce an artifact locally and then deploy it manually. I want to automate the process, so I'm trying to configure it using CodePipelines + Jenkins, as described in this Gradle-adjusted document .
The problem is that if I point out 3 sources in the pipe, I will end up messing up the Jenkins workspace with my projects extracted to each other. I need to somehow configure each project to output to its own directory in the Jenkins workspace, and I just don’t see a way to execute it (at least in the user interface).
Then, of course, even if I get what I want, I need to somehow cdrun in the main directory gradle build, and again I'm not sure how to do it
PS Great offers from @Phil, but unfortunately it looks like CodePipeline does not currently support Git submodules or subtrees