configuring TeamCity

I'm having some trouble with TeamCity's concept at the moment. So many questions arise. Sorry if some may look obvious to the regular users.
I'm a newbie in TeamCity, just installed it for my team, and I come from a 'maven' build system. This is relevant because in Maven, you can add as many plugin and reporting option as you want in the unique build process.

As for TeamCity, as far as I understand, you have different possible BuildRunner and you shall configure each of them to achieve different task, such as running inspections, do some code duplication detection and do the real build.
It's probably more flexible this way but it's a little bit puzzling for me.

I'd be very greatful if someone could point me to some quite complete configuration exemple. Especially including working with artifacts that are relied on by several project manage by TeamCity.

Documentation, even if very complete and being quite worked on these days, help me grasping what one can do with TeamCity but not how to implement it!

Shall I configure my dependency libraries to be build by TeamCity? What would it bring to me?
How do I implement the 'test conditional' check in?
How do transform my 'pending changes' to normal changes so that my build get triggered?
...

Any experience/configuration sharing, help or thread pointer welcome!

-nodje

3 comments

Hello,

For an example of setup you can look to our demo server: http://teamcity.jetbrains.com (you can register there to get more actions available).

The specific configuration that will suit you most is dependent on the project and the practices of the team. You should really try to use TeamCity and gradually migrate to the configuration that suits best.

Shall I configure my dependency libraries to be build by TeamCity? What would it bring to me?


With TeamCity artifact dependencies you can track what builds provided artifacts for a build. Usually you would want to build the code in TeamCity that you control/modify.

How do I implement the 'test conditional' check in?


Do you mean pre-tested commit? Just setup you build in TeamCity, modify the code it builds in one of the supported IDEs and choose "Remote Run" in it instead of committing the changes into the version control directly.

How do transform my 'pending changes' to normal changes so that my build get triggered?


You can hit "Run" button to run a build or set triggering rules for the configuration to be triggered automatically.

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

thanks Yegor for the tips.
I'll slowly digest that and see what's applicatble to our projects.

As for triggering the build, I have a Time Trigger but it wouldn't start the build, even though there's pending changes.
Do I have to tick the box on the VCS tab also to get the build time triggered?

rgds

0

Hello,

As for triggering the build, I have a Time Trigger but it wouldn't start the build, even though there's pending changes.
Do I have to tick the box on the VCS tab also to get the build time triggered?


You should have "Enable triggering when files are checked into VCS" setting ON on Build Triggering page of Build Configuration settings.
See http://www.jetbrains.net/confluence/display/TCD3/VCS+Triggers for more details on triggering configuration.

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.