|Re: Hudson builds due to CVSROOT mismatch [message #1022344 is a reply to message #1022335]
||Thu, 21 March 2013 17:51
| Michael Angelo
Registered: March 2013
I have a quick question about Git. My web project is split into 3 projects: Web, Domain, and Business logic. At first, I created a single git repo on my server and pushed all 3 projects to that single repository. This worked fine from within Eclipse.|
When I tried to set up the builds in Hudson, that is where it got confusing. When I told Hudson where the git repo is on the server, I found no way to access each individual project folder from git so that Hudson could build each project when necessary.
So, what I did was create a git repo for each project which made it easier to tell Hudson how to pull down the code.
Now, the strange thing is when Hudson polls Git and pulls down the project, it puts them in $HUDSON_WORKSPACE/[project-name]/[project-name]. I found no way around this. Since these are all Maven projects, I had to tell Hudson that the pom file was in [project-name]/pom.xml where before it was just pom.xml.
Is this the correct way of setting this up?
Powered by FUDForum
. Page generated in 0.06414 seconds