JENKINS
ANDROID
http://www.gasolin.idv.tw/
Developer & Book Author


aTrackDog                         rTerm
Work with Sam Lu                  Facilitate it’s open source




        20+ Apps
Organizer



                 http://www.taipei-gtug.org
                         7:30pm




GTUG   http://goo.gl/sSf1c
Information Technology into Daily Life
          IT




                credit http://www.flickr.com/photos/tsunomi/4723421346/
Coding
Config



Coding    Build    Publish



         Compile
Config



Planing   Coding    Build    Publish



                   Compile
Version
                    Config
          Control


Planing   Coding     Build    Publish



                    Compile
Version
                     Config
          Control


Planing   Coding      Build    Test   Publish


            Issue
                     Compile
          Tracking
‘                       ’
credit http://zombiepictures.blogspot.com/2010/04/zombie-sketches.html
Coding




     =
Version
                     Config
          Control


Planing   Coding      Build    Test   Publish


            Issue
                     Compile
          Tracking
Version
                    Config
          Control


Planing   Coding     Build    Publish



                    Compile
Version
          Config
Control


Coding     Build    Publish



          Compile
Config



Coding    Build    Publish



         Compile
EPIC FAIL
credit http://xblurryx.deviantart.com/art/Flower-Sketch-209385506
credit http://xblurryx.deviantart.com/art/Flower-Sketch-209385506
Version
       Control


wiki


         Issue
       Tracking
Version
       Control


wiki


         Issue
       Tracking
Version
       Control


wiki


         Issue
       Tracking
Version                     Notifica
           Config
Control                      tion


            Build    Test   Publish


  Issue                      Build
           Compile
Tracking                    Report
Version                     Notifica
           Config
Control                      tion


            Build    Test   Publish


  Issue                      Build
           Compile
Tracking                    Report
Version                     Notifica
                    Config
         Control                      tion

Hudson
                     Build    Test   Publish


           Issue                      Build
                    Compile
         Tracking                    Report
Version                     Notifica
                     Config
          Control                      tion

Hudson
                      Build    Test   Publish


            Issue                      Build
                     Compile
          Tracking                    Report
Jenkins
JENKINS =
credit http://www.whatisfunny.net/wp-content/uploads/2010/01/robot_butler.jpg
$ java -jar jenkins.war
https://wiki.jenkins-ci.org/display/JENKINS/Plugins
... ANDROID
https://market.android.com/details?id=greensopinion.hh
ANDROID
credit http://meany-pie.blogspot.com/2011/02/robot-rhett-butler.html
svn/hg   build.xml


                               Emulator
Android    .java     ant       monkey     .apk
                                 junit

                     aapt
                   proguard




          ANDROID
svn/hg   build.xml


                               Emulator
Android    .java     ant       monkey     .apk
                                 junit
Jenkins              aapt
                   proguard




          ANDROID
ant   ANDROID


$ cd {project_path}
$ android update project --path .
ANDROID
  +
credit http://grosslandguide.com/?p=1337
ANDROID
Android Emulator Plugin
credit http://www.flickr.com/photos/paperclypse/10409482/
• Copy to Slave (Library   • Robotium
 Project)

• checkstyle

• findbugs

• javaNCSS

• Code   Coverage
credit http://www.flickr.com/photos/buttongirl/1902124333/
Coding




     =
Redmine, Trac



Jenkins
coding

                  version
plan
                  control
         issue
       tracking
coding           build    publish

                  version
plan
                  control
         issue              generate
       tracking    test       doc
coding           build    publish

                  version
plan
                  control
         issue              generate
       tracking    test       doc




            =
credit http://www.whatisfunny.net/wp-content/uploads/2010/01/robot_butler.jpg
Android + jenkins

Android + jenkins