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

Jenkins and GitHub

Jenkins and GitHub

2013/06/18 第6回テックヒルズ

More Decks by Hiroki HIROCASTER OHTSUKA

Other Decks in Programming

Transcript

  1. +
    2013/06/18 ୈ6ճςοΫώϧζ@ΞΧσϛʔώϧζ
    )JSPLJ0)546,"BLB)*30$"45&3
    13೥6݄18೔Ր༵೔

    View Slide

  2. "CPVU.F
    )JSPLJ0)546,"
    NJYJ *OD
    4ZTUFN%JWJTJPO
    IUUQIJSPLJKQ
    DVSMIUUQDVJBCPVUNFIJSPDBTUFS
    13೥6݄18೔Ր༵೔

    View Slide

  3. #PPLT
    13೥6݄18೔Ր༵೔

    View Slide

  4. 3VCZ.PUJPO5PLZP
    IUUQSVCZNPUJPOUPLZPEPPSLFFQFSKQ
    13೥6݄18೔Ր༵೔

    View Slide

  5. "CPVU+FOLJOT
    $POUJOVPVT*OUFHSBUJPO4FSWFS
    &BTZJOTUBMM
    .VMUJQMBUGPSN
    0QFO4PVSDF
    IUUQKFOLJOTDJPSH
    13೥6݄18೔Ր༵೔

    View Slide

  6. Fork
    IVETPO KFOLJOT
    13೥6݄18೔Ր༵೔

    View Slide

  7. 6TFDBTF
    #VJME
    5FTUJOH
    "OBMZ[FDPEFT
    "VUPNBUJDEFQMPZ
    FUD
    13೥6݄18೔Ր༵೔

    View Slide

  8. +
    13೥6݄18೔Ր༵೔

    View Slide

  9. gprb
    Pull Request
    testflight
    Notice
    13೥6݄18೔Ր༵೔

    View Slide

  10. (JUIVCQVMMSFRVFTUCVJMEFSQMVHJO
    • This plugin builds pull requests in github
    and report results.
    • https://wiki.jenkins-ci.org/display/JENKINS/
    Github+pull+request+builder+plugin
    • Support GitHub Enterprise
    • Easy Install from Plugin Manager
    13೥6݄18೔Ր༵೔

    View Slide

  11. (JUIVCQVMMSFRVFTUCVJMEFSQMVHJO
    • require bot account
    • Pull Request hook start job
    • report to github
    13೥6݄18೔Ր༵೔

    View Slide

  12. Report
    13೥6݄18೔Ր༵೔

    View Slide

  13. Report
    • Merge Button
    13೥6݄18೔Ր༵೔

    View Slide

  14. Report
    • commit
    13೥6݄18೔Ր༵೔

    View Slide

  15. gprb
    Pull Request
    deploygate
    testflight
    13೥6݄18೔Ր༵೔

    View Slide

  16. LifeHack
    13೥6݄18೔Ր༵೔

    View Slide

  17. HJTU
    13೥6݄18೔Ր༵೔

    View Slide

  18. (JU)VC(JTUKFOLJOT
    GitHub Gist
    https://gist.github.com/
    - a simple way to
    share snippets and pastes
    13೥6݄18೔Ր༵೔

    View Slide

  19. $SFBUF13
    13೥6݄18೔Ր༵೔

    View Slide

  20. Update “Ruby Gems” Pull
    Request
    $ export GITHUB_USER=bot-username
    $ export GITHUB_PASSWORD=xxxxx
    $ git checkout -b \
    bundle-update-$BUILD_ID
    $ bundle update
    $ git add Gemfile.lock
    $ git commit -m \
    “Update gems $BUILD_ID”
    $ git push -u \
    origin bundle-update-$BUILD_ID
    $ hub pull-request \
    "bundle update $BUILD_ID"
    13೥6݄18೔Ր༵೔

    View Slide

  21. HJUIVCHJUIVC
    Hub command
    https://github.com/defunkt/hub
    - wraps git in order to extend
    it with extra features
    Install Example
    $ brew install hub
    13೥6݄18೔Ր༵೔

    View Slide

  22. KPC
    13೥6݄18೔Ր༵೔

    View Slide

  23. "QQMJDBUJPO%FWFMPQFSJONJYJ
    We Are Hiring
    http://mixi.co.jp/recruit/career/type/
    iosandroid.html
    - Programmer Android / iOS
    - Please, contact to me.
    13೥6݄18೔Ր༵೔

    View Slide

  24. FAQ
    13೥6݄18೔Ր༵೔

    View Slide

  25. (JU)VCຊࠓՆൃച༧ఆ
    IUUQHJUIVCCPPLEPPSLFFQFSKQ
    13೥6݄18೔Ր༵೔

    View Slide