introduction to jenkins - springpeople

12
© SpringPeople Software Private Limited, All Rights Reserved. © SpringPeople Software Private Limited, All Rights Reserved. Introduction to

Upload: springpeople

Post on 03-Aug-2015

324 views

Category:

Education


2 download

TRANSCRIPT

Page 1: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved. © SpringPeople Software Private Limited, All Rights Reserved.

Introduction to

Page 2: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

What is Jenkins?

Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.

Page 3: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Jobs Of Jenkins

• Building/testing software projects continuously, just like CruiseControl or DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases the productivity.

• Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong.

Page 4: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Jenkins Framework

Page 5: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Features of Jenkins

• Easy installation: Just java -jar jenkins.war, or deploy it in a servlet container. No additional install, no database.

• Easy configuration: Jenkins can be configured entirely from its friendly web GUI with extensive on-the-fly error checks and inline help. There's no need to tweak XML manually anymore, although if you'd like to do so, you can do that, too.

• Change set support: Jenkins can generate a list of changes made into the build from Subversion/CVS. This is also done in a fairly efficient fashion, to reduce the load on the repository.

• Permanent links: Jenkins gives you clean readable URLs for most of its pages, including some permalinks like "latest build"/"latest successful build", so that they can be easily linked from elsewhere.

Page 6: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Features of Jenkins

• After-the-fact tagging: Builds can be tagged long after builds are completed.

• JUnit/TestNG test reporting: JUnit test reports can be tabulated, summarized, and displayed with history information, such as when it started breaking, etc. History trend is plotted into a graph.

• Distributed builds: Jenkins can distribute build/test loads to multiple computers. This lets you get the most out of those idle workstations sitting beneath developers' desks.

• File fingerprinting: Jenkins can keep track of which build produced which jars, and which build is using which version of jars, and so on. This works even for jars that are produced outside Jenkins, and is ideal for projects to track dependency.

• Plugin Support: Jenkins can be extended via 3rd party plugins. You can write plugins to make Jenkins support tools/processes that your team uses.

Page 7: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

• Jenkins defines extensibility points, which are interfaces or abstract classes that model an aspect of a build system. Those interfaces define contracts of what need to be implemented, and Jenkins allows plugins to contribute those implementations

Jenkins Plugins

Page 8: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Building A Plugin

• To build a plugin, run mvn install. This will create the file ./target/pluginname.hpi that you can deploy to Jenkins.

Command - $ mvn install

• To create a distribution image of your plugin, run the following Maven command:

Command - $ mvn package

Page 9: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

About Jenkins Enterprise

• CloudBees Jenkins Enterprise is based on the Jenkins OSS Long Term Support (LTS) releases, and a refresh build will be released every time the Jenkins community does an LTS release, which is roughly every 3 months. For major CJE feature releases, version numbers are listed as yy.mm. For example, CJE version 12.11 was released in November of 2012.

Page 10: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

How you can master Jenkins?

Become an expert in 2 days.

World class Jenkins training by the industry experts.

More Details

Page 11: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Suggested Audience & Other Details

• Overview - Participants will walk away with a solid understanding of how to implement a Continuous Integration (CI) environment with Jenkins

• Suggested Audience: – Developers

– Architects

• Duration – 2 Days

Syllabus

Page 12: Introduction To Jenkins - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

For further info/assistance contact

[email protected]

+91 80 656 79700

www.springpeople.com

Our Partners