Recent Posts

Saturday, 9 July 2016

Jenkins Tutorial


* Jenkins is an open source continuous integration tool written in Java.

* Jenkins provides continuous integration services for software development.

* It is a server-based system running in a servlet container such as Apache Tomcat.

* Jenkins, a continuous build tool, automating the build, artifact management, and deployment processes

Workflow
Jenkins Workflow

CI (Continuous Integration) Tools
Code Repositories
SVN, Mercurial, Git

Continuous Build Systems
Jenkins, Bamboo, Cruise Control

Test Frameworks
JUnit,Cucumber, CppUnit

Artifact Repositories
Nexus, Artifactory, Archiva

How Jenkins Works
How Jenkins Works
1. Setup Level
     Here we can choose what Options, Tools and plugins we can use with Jenkins
* Associating with a version control server

* Triggering builds :Polling, Periodic, Building based on other projects

* Execution of shell scripts, bash scripts, Ant targets, and Maven targets

* Artifact archival

* Publish JUnit test results and Javadocs

* Email notifications

2. Building
     Once a project is successfully created in Jenkins, all future builds are automatic Building
* Jenkins executes the build in an executer

* By default, Jenkins gives one executer per core on the build server

* Jenkins also has the concept of slave build servers

* Useful for building on different architectures

* Distribution of load

3. Reporting
* Keeping track of build status: Last success and failure

* Unit test coverage Test result trending Findbugs, Checkstyle, PMD

Types of Environments
1. Development

2. QA only Functional testing of the system

3. Integration Testing Tests the system from end to end

4. User Acceptance Testing(UAT) user will validate the functionality over time

5. Production

6. Production Parallel A parallel of production to replicate production issues

7. CERT CERT is Certification environment! It’s just where you certify your product so that it can move to production

Next Tutorial  Installing Jenkins

No comments:

Post a Comment