Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How we use Jenkins at mixi

How we use Jenkins at mixi

Kazuyoshi Kato

February 22, 2012
Tweet

More Decks by Kazuyoshi Kato

Other Decks in Programming

Transcript

  1. % measureperl-checkstyle \ ! --max_sub_lines 60 \ ! --max_sub_mccabe_complexity 10

    \ ! --directory lib/Mixi \ ! > checkstyle-result.xml
  2. XML is like a violence – if it doesn’t solve

    your problems, you are not using enough of it.
  3. Small Medium Large Network access No localhost only Yes Database

    No Yes Yes File system access No Yes Yes Use external systems No Discouraged Yes Multiple threads No Yes Yes Sleep statements No Yes Yes System properties No Yes Yes Time limit (seconds) 60 300 900+ googletesting.blogspot.com/2010/12/test-sizes.html
  4. { ... "changeSet" : { "kind" : null, "items" :

    [ { "msg" : "...", "comment" : "...", "date" : "2012-02-21 10:07:29 +0000", "id" : "f9b10e71011cb33f90ef6092e72fab4947e3350f", "author" : { ... }, "paths" : [ { "file" : "static/js/mixi/notify/visitor-min.js", "editType" : "edit" }, { "file" : "static/js/mixi/notify/visitor.js", "editType" : "edit" } ] }, { "msg" : "...", "comment" : "...", "date" : "2012-02-21 10:11:06 +0000", "id" : "7289c319218d3f9e3d64b2a3a58333a3735ed2b5", "author" : { ... } "paths" : [ { "file" : "script/change_order_image.pl", "editType" : "edit" } ] } ]
  5. % make remote-test script/devel/remote-test View test results in a web

    browser: http://ci.example.com/job/git-try/ %
  6. Flickr is somewhat unique in that it uses a code

    repository with no branches; code.flickr.com/blog/2009/12/02/flipping-out/
  7. building the right it before you invest a lot of

    time and efforts to build it right. pretotyping.org/