Jenkins CI + XebiaLabs for Release Orchestration: A Recipe for Continuous Delivery Success
Using CI for continuous delivery Part 2
-
Upload
vishal-biyani -
Category
Technology
-
view
15.636 -
download
0
Transcript of Using CI for continuous delivery Part 2
![Page 1: Using CI for continuous delivery Part 2](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/1.jpg)
TeamCity - JetBrains
http://www.jetbrains.com/teamcity/index.html
www.vishalbiyani.com
![Page 2: Using CI for continuous delivery Part 2](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/6.jpg)
www.vishalbiyani.com
Trigger types
Failure condition types
![Page 7: Using CI for continuous delivery Part 2](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/7.jpg)
www.vishalbiyani.com
Parameters including system and environment
properties
![Page 8: Using CI for continuous delivery Part 2](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/13.jpg)
http://confluence.jetbrains.com/display/TW/TeamCity+Plugins
www.vishalbiyani.com
![Page 14: Using CI for continuous delivery Part 2](https://reader034.fdocuments.us/reader034/viewer/2022051520/58a008e71a28abd40b8b6591/html5/thumbnails/14.jpg)
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