Andrew Boyd
Andrew Boyd

Reputation: 171

Integrating GIT into Hudson

I have a Hudson project setup, basically "URL of repository" = D:/Development

Say I have a .NET solution under /SomeFolder/SomeProject/SomeProject.sln, how can I get Hudson to monitor the /SomeFolder/SomeProject folder in Git? I am new to git, so should I have a new Git repository for each project? I have used SVN with Hudson and was able to do the above easily, so any help would be greatly appreciated

Regards,

Andrew

Upvotes: 2

Views: 336

Answers (1)

VonC
VonC

Reputation: 1328002

The only way I see this kind of setting possible would be to use a parent repo, which would declare each of the repos you want to monitor as submodules.

Hudson might need to be tweaked in order to run a job before your current job, in order to make sure it does the git submodule update properly, before its 'git status' (I haven(t tested this configuration, so maybe this step won't be necessary).

Upvotes: 1

Related Questions