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/