Jenkins CI in Action
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Jenkins CI in Action

on

  • 2,138 views

What Jenkins is, how to integrate with Gerrit code review tool.

What Jenkins is, how to integrate with Gerrit code review tool.

Statistics

Views

Total Views
2,138
Views on SlideShare
1,389
Embed Views
749

Actions

Likes
1
Downloads
16
Comments
0

6 Embeds 749

http://blog.altoros.com 742
http://feedly.com 3
http://www.tuicool.com 1
http://blog.altoros.com&_=1391904000072 HTTP 1
http://dschool.co 1
http://feedreader.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Bad commit? You will know about in 5 minutes Code delivery is easier and faster Don't lose your time waiting for tests before push Automated deployment No need to invent a wheel, you already have a platform Highly extendable with plugins OpenSource and free The biggest community among other CI products
  • JetBrains TeamCity Sexy interface but less flexible customization Restrictions in free version 100% Free for active/popular OpenSource projects CruiseControl / .rb Is almost not supported by now OpenSource and free Bamboo Integrates with JIRA From $50/mo for 1 agent Travis CI Free for OpenSource No need to setup env GitLab CI Free and OpenSource Integrates with Gitlab HQ
  • World of Warcraft hero. Рейд. Правильно выбирайте лидера / за кем идти Планирование!

Jenkins CI in Action Presentation Transcript

  • 1. Jenkins CI in Actionby Mikhail Pobolovets
  • 2. Foreword● Senior Ruby developer/Team leadat Altoros Systems● Ruby developer since 2007● Haskell and Erlang enthusiast● https://github.com/styx
  • 3. What is CI?Continuous Integration is a softwaredevelopment practice where members of a teamintegrate their work frequently, usually eachperson integrates at least daily - leading tomultiple integrations per day. Each integration isverified by an automated build (including test) todetect integration errors as quickly as possible.– Martin Fowler
  • 4. Who is Jenkins?● Written in Java, but thats not a problem● Platform with minimum functionality● Plugins support– Gerrit, Github, IRC, Jabber, Skype, Vagrant, Rake,LDAP– About 780 plugins● Distributed builds (Master – Slave)
  • 5. I want one!
  • 6. So why you might want Jenkins?● Bad commit? You will know about in 5 minutes● Code delivery is easier and faster● Automation of annoying tasks● No need to invent a wheel, you already have aplatform● The biggest community among other CIproducts
  • 7. Alternatives
  • 8. GerritGerrit is a web-based team software codereview tool.
  • 9. Workflows● With Gerrit trigger – Main workflow for Devs– New patch set / Draft published– Special comment posted– Special phrase in commit message to skip build● By schedule– Integration testing (nightly)● By dependency build– Special case if you have projects with shared codebase
  • 10. Gerrit workflowVerifiedPullReviewedPushPullSubmit
  • 11. Tweaks● GC tweaks● Parallel Testshttps://github.com/grosser/parallel_tests● Pspechttps://github.com/FUT/pspec● Skip part of the test suite if possible● Rubocop● Simple script to find out basic errors (debugger)● Brakeman