2014年5月21日 星期三

CI: Jenkins Introduction

The purpose of the article is let you know what Jenkins for Windows is. Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle.

Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat. It supports SCM tools including AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC, and can execute Apache Ant and Apache Maven based projects as well as arbitrary shell scripts and Windows batch commands.

Work flow likes the following diagram, and they are divided to some stages: 
1.Coding and push into Git remote repository

2.Jenkins gets source code from Git, and runs static analysis, such as lint check, FindBugs, CheckStyle...etc.
3.Run Unit Test or Mokey Test
4.Build Apk
5.Deploy

References - Jenkins: https://jenkins-ci.org/