Setup Git for CI

Hi all.

I am very new to TeamCity and Git.
Does anybody have or know of any links that can provide me with step-by-step tutorial on how to setup TeamCity for CI?
So the conditions to checking in would be something like this:

1) Build the Solution --> If pass, go to step 2
2) RUn the unit tests --> If pass, go to step 3
3) Checkin code

Many thanks,

Comment actions Permalink

Maybe I am wrong, but - TeamCity is used to build project, but there is no default functionality to check in it back to source control.
But, this could be easily realized by some sort of script, which will do checkin on 3rd step. TeamCity is intellegent enough to not start next step if previous have failed.

Comment actions Permalink

have a look at teamcity documnetation: pre tested commit

Comment actions Permalink

I managed to set it up.
Thank u for the support ;)


Please sign in to leave a comment.