Using CI for continuous delivery Part 2

14
TeamCity - JetBrains http://www.jetbrains.com/tea mcity/index.html www.vishalbiyani.com

Transcript of Using CI for continuous delivery Part 2

Page 1: Using CI for continuous delivery Part 2

TeamCity - JetBrains

http://www.jetbrains.com/teamcity/index.html

www.vishalbiyani.com

Page 2: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Again we start by building the pipeline in

TeamCity – which is in Admin tab

We build “project” which can have subprojects.

Page 3: Using CI for continuous delivery Part 2

www.vishalbiyani.com

A project can have subprojects which in turn can have “Build

Configurations”-actual executors of

tasks

The project itself can have build

configurations of it’s own

Page 4: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Each “build configuration” item will have options that can be configured like actual task, triggers, dependencies, parameters and eligible agents which can execute

that configuration

Page 5: Using CI for continuous delivery Part 2

www.vishalbiyani.com

The list of “runners” available OOTB- more

can be added by installing plugins.

Page 6: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Trigger types

Failure condition types

Page 7: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Parameters including system and environment

properties

Page 8: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Which agent can execute what can be

determined by checking value of parameters-

quite handy

Page 9: Using CI for continuous delivery Part 2

www.vishalbiyani.com

We already have one agent installed and enabled on

same machine for demo

Page 10: Using CI for continuous delivery Part 2

www.vishalbiyani.com

A pipeline for the application available on homepage

Issues/Broken pipelines can be

assigned to people to be resolved

Exception/errors in a stage of pipeline visible right at top!

Page 11: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Details of a particular stage in pipeline – here we can see the build, change log, which agents

can work on this etc.

Page 12: Using CI for continuous delivery Part 2

www.vishalbiyani.com

Ability to build any kind of project from Java to .NET to Xcode is a awesome feature of TeamCity

Page 13: Using CI for continuous delivery Part 2

http://confluence.jetbrains.com/display/TW/TeamCity+Plugins

www.vishalbiyani.com

Page 14: Using CI for continuous delivery Part 2

TeamCity - Concluding thoughts

• Build jobs have great flexibility and many options – Excellent CI server

• Although CD actions are available –semantics is basic

• The actions available OOTB and as plugins are plenty

• You can build multitude of technologies in one CI server

• Found a little tricky till you get hang of it

www.vishalbiyani.com