+ All Categories
Home > Software > Continuous Integration Step by Step

Continuous Integration Step by Step

Date post: 11-Jan-2017
Category:
Upload: abhay-kumar-pmp-csm-itil
View: 48 times
Download: 3 times
Share this document with a friend
13
Continuous Integration Configuration Step By Step
Transcript
Page 1: Continuous Integration Step by Step

Continuous Integration ConfigurationStep By Step

Page 2: Continuous Integration Step by Step

Continuous integration

Trigger

Check In

Notification

Notification

Automatic

Deploymen

t

Automatic DeploymentStakeholders

Staging

Production

CI Server

RepositoryDevelopers

Eclipse

SVN

Jenkins

SVN, Eclipse, Jenkins, Maven & Junit

Page 3: Continuous Integration Step by Step

Installing Subversion - SVN

Download SVN binary package from https://subversion.apache.org/packages.html suitable to your SCM (software configuration management) server platform and install SVN.

Page 4: Continuous Integration Step by Step

SVN Server Configuration

Configure the SVN with repository setup, user creation & workflow definition.

Commit

Update

Make Changes

Fix Problems

Resolve Conflicts

SVN Workflow

Page 5: Continuous Integration Step by Step

Eclipse - SVN

Configure the SVN in developer's machine through their IDE - eclipse. SVN is configured into eclipse by installing SVN plugin and SVN connector and configuring the SVN repository.

Page 6: Continuous Integration Step by Step

Installing Jenkins

Download a configurable Jenkins download from https://jenkins.io matching your CI server platform and install Jenkins.

Page 7: Continuous Integration Step by Step

User Control - Jenkins

Create user control in Jenkins using option - manage Jenkins - configure global security - enable security.

Page 8: Continuous Integration Step by Step

SVN Configuration - Jenkins

Configure the SVN in Jenkins using option manage Jenkins - source control management section. Please put the SVN repository url and add credential in the relevant field to access the SVN repository. There are two options to pull committed changes from SVN. •Polling SVN - Polling SVN need to be configured in SVN settings of Jenkins.

•Triggering build - We need to place relevant scripts for post-commit actions in hooks directory of the SVN to trigger a build remotely into Jenkins.

Page 9: Continuous Integration Step by Step

Maven - Jenkins

Configure the build tool maven in Jenkins using option manage Jenkins – configure system – configure maven.

Page 10: Continuous Integration Step by Step

Junit Configuration - Jenkins

Configure Jenkins to run Junit unit cases and publish the unit test result using option configure job – add build set up – add post build action - of executing test scripts specifying the location of test report xmls.

Page 11: Continuous Integration Step by Step

E-mail Notification - Jenkins

Configure e-mail notification in Jenkins using option manage Jenkins – configure system – e-mail notification section to notify post build and post unit test results to stakeholders.

Page 12: Continuous Integration Step by Step

Automated Deployment - Jenkins

Configure automated deployment in jenkins by Installing “deploy to container” plugin using option manage Jenkins – manage plugings, then use option configure build – “post build actions” – “deploy war/ear to container”. Mention the required details of target deployment server in deploy war/ear container field of the screen.

Page 13: Continuous Integration Step by Step

Thank youhttp://solutionframework.blogspot.in/


Recommended