Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am bound and determined to setup CI at work. I have played with Jenkins, and will download TeamCity when I get home (damn you work enforced download filters!) I have no IT support, and only so much spare time. My main question:

Can Jenkins or TeamCity integrate with git or mercurial repositories that exist only on a shared drive rather than a true server (via http, https, ssh, etc)?

I would like to use a DVCS with my CI setup, but would also be ok with settling on SVN because it is familiar, and already setup (but no projects to migrate if I decide on a DVCS). I am familiar with the benefits of DVCS and I don't think they will come into play very often in my current environment.

My CI will live on a plain Windows XP box on the network. Given the above, will it be fairly easy to integrate either Jenkins or TeamCity with git/mercurial, or should I just stick with SVN as it is more or less ready to go?

share|improve this question

closed as off-topic by gnat, jwenting, Bart van Ingen Schenau, MichaelT, GlenH7 May 28 '14 at 17:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, jwenting, Bart van Ingen Schenau, Community, GlenH7
If this question can be reworded to fit the rules in the help center, please edit the question.

Jenkins works fine with git. Note that a complete repository is checked out per job. – user1249 Jun 15 '11 at 7:05
We use Jenkins with SVN and Git simultaneously (well, one VCS per job of course) and it works just fine. – Donal Fellows Jun 15 '11 at 8:42
up vote 3 down vote accepted

Modern CI server solutions do not limit you to a single (D)VCS.

With Jenkins and Teamcity you are free to choose Git or SVN (or Mercurial, or TFS, or anything else). Both server support file:// urls, so you'll be able to use shared drive. No big difference here.

If you don't want to spend lots of time configuring and supporting your server, I'd choose TeamCity. This thing "just works" and have a pretty Windows installer that will bring up TeamCity server in no time.

share|improve this answer
+1 for TeamCity just working. It is definitely a solid CI tool. – RationalGeek Jun 17 '11 at 12:20
TeamCity needs to run a client thread to check for changes for each type of repo, so it might help to make up your mind in choosing SVN or Git or Mercurial, although you can use them all. – bbaassssiiee Sep 23 '13 at 9:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.