Jenkins Essentials

Continuous Integration – setting up the stage for a DevOps culture
Preview in Mapt
Code Files

Jenkins Essentials

Mitesh Soni

Continuous Integration – setting up the stage for a DevOps culture
Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.00
RRP $23.99
Save 49%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$12.00
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Jenkins Essentials Book Cover
Jenkins Essentials
$ 23.99
$ 12.00
Learning Continuous Integration with Jenkins Book Cover
Learning Continuous Integration with Jenkins
$ 47.99
$ 24.00
Buy 2 for $29.50
Save $42.48
Add to Cart

Book Details

ISBN 139781783553471
Paperback186 pages

Book Description

In agile development practices, developers need to integrate their work frequently to fix bugs or to create a new feature or functionality. To integrate all work efficiently and verify it is an error-prone and time-consuming manual task. Jenkins is used specifically for continuous integration, helping to enforce the principles of agile development.

This book begins by tackling the installation of the necessary software dependencies and libraries you'll need to perform continuous integration for a Java application. From there, you'll integrate code repositories, applications, and build tools for the implementation of continuous integration. Finally, you'll explore the automated deployment of an application in Tomcat, along with details on managing and configuring Jenkins based on your requirements by using plugins.

Table of Contents

Chapter 1: Exploring Jenkins
Introduction to Jenkins and its features
Installation of Jenkins on Windows and CentOS
A jump-start tour of the Jenkins dashboard
How to change configuration settings in Jenkins
What is the deployment pipeline?
Self-test questions
Summary
Chapter 2: Installation and Configuration of Code Repository and Build Tools
An overview of a build in Jenkins and its requirements
Installing Java and configuring environment variables
Installing, configuring, and operating SVN on CentOS and Windows
Integrating Eclipse with code repositories
Installing and configuring Ant
Installing Maven
Configuring Ant, Maven, and JDK in Jenkins
Installing and configuring Git
Creating a new build job in Jenkins with Git
Self-test questions
Summary
Chapter 3: Integration of Jenkins, SVN, and Build Tools
Creating and configuring a build job for a Java application with Ant
Creating and configuring a build job for a Java application with Maven
Build execution with test cases
Self-test questions
Summary
Chapter 4: Implementing Automated Deployment
An overview of continuous delivery and continuous deployment
Installing Tomcat
Deploying a war file from Jenkins to Tomcat
Self-test questions
Summary
Chapter 5: Hosted Jenkins
Exploring Jenkins in OpenShift PaaS
Exploring Jenkins in the Cloud – CloudBees
An overview of CloudBees Enterprise Plugins
Jenkins case studies from CloudBees
Self-test questions
Summary
Chapter 6: Managing Code Quality and Notifications
Integration with Sonar
Exploring Static Code Analysis Plugins
E-mail notifications on build status
Self-test questions
Summary
Chapter 7: Managing and Monitoring Jenkins
Managing Jenkins master and slave nodes
Jenkins monitoring with JavaMelody
Managing disk usage
Build monitoring with Build Monitor Plugin
Managing access control and authorization
Maintaining roles and project-based security
Audit Trail Plugin – an overview and usage
Self-test questions
Summary
Chapter 8: Beyond Basics of Jenkins – Leveraging "Must-have" Plugins
Extended Email Plugin
Workspace cleanup Plugin
Pre-scm-buildstep Plugin
Conditional BuildStep Plugin
EnvInject Plugin
Build Pipeline Plugin
Self-test questions
Summary

What You Will Learn

  • Get to grips with the challenges faced by developer communities
  • Learn about continuous integration and how it helps in building various Java applications
  • Facilitate the installation and configuration of Jenkins
  • Install and configure code repositories and build tools
  • Explore the integration of Eclipse with code repositories
  • Manage the integration of Jenkins, code repositories, and build tools
  • Familiarize yourself with continuous integration for Java applications with unit test execution and static code analysis

Authors

Table of Contents

Chapter 1: Exploring Jenkins
Introduction to Jenkins and its features
Installation of Jenkins on Windows and CentOS
A jump-start tour of the Jenkins dashboard
How to change configuration settings in Jenkins
What is the deployment pipeline?
Self-test questions
Summary
Chapter 2: Installation and Configuration of Code Repository and Build Tools
An overview of a build in Jenkins and its requirements
Installing Java and configuring environment variables
Installing, configuring, and operating SVN on CentOS and Windows
Integrating Eclipse with code repositories
Installing and configuring Ant
Installing Maven
Configuring Ant, Maven, and JDK in Jenkins
Installing and configuring Git
Creating a new build job in Jenkins with Git
Self-test questions
Summary
Chapter 3: Integration of Jenkins, SVN, and Build Tools
Creating and configuring a build job for a Java application with Ant
Creating and configuring a build job for a Java application with Maven
Build execution with test cases
Self-test questions
Summary
Chapter 4: Implementing Automated Deployment
An overview of continuous delivery and continuous deployment
Installing Tomcat
Deploying a war file from Jenkins to Tomcat
Self-test questions
Summary
Chapter 5: Hosted Jenkins
Exploring Jenkins in OpenShift PaaS
Exploring Jenkins in the Cloud – CloudBees
An overview of CloudBees Enterprise Plugins
Jenkins case studies from CloudBees
Self-test questions
Summary
Chapter 6: Managing Code Quality and Notifications
Integration with Sonar
Exploring Static Code Analysis Plugins
E-mail notifications on build status
Self-test questions
Summary
Chapter 7: Managing and Monitoring Jenkins
Managing Jenkins master and slave nodes
Jenkins monitoring with JavaMelody
Managing disk usage
Build monitoring with Build Monitor Plugin
Managing access control and authorization
Maintaining roles and project-based security
Audit Trail Plugin – an overview and usage
Self-test questions
Summary
Chapter 8: Beyond Basics of Jenkins – Leveraging "Must-have" Plugins
Extended Email Plugin
Workspace cleanup Plugin
Pre-scm-buildstep Plugin
Conditional BuildStep Plugin
EnvInject Plugin
Build Pipeline Plugin
Self-test questions
Summary

Book Details

ISBN 139781783553471
Paperback186 pages
Read More

Read More Reviews

Recommended for You

Learning Continuous Integration with Jenkins Book Cover
Learning Continuous Integration with Jenkins
$ 47.99
$ 24.00
Mastering Jenkins Book Cover
Mastering Jenkins
$ 39.99
$ 20.00
Jenkins Essentials - Second Edition Book Cover
Jenkins Essentials - Second Edition
$ 31.99
$ 16.00
Extending Jenkins Book Cover
Extending Jenkins
$ 27.99
$ 14.00
Jenkins Continuous Integration Cookbook - Second Edition Book Cover
Jenkins Continuous Integration Cookbook - Second Edition
$ 29.99
$ 15.00
Continuous Delivery and DevOps – A Quickstart Guide - Second Edition Book Cover
Continuous Delivery and DevOps – A Quickstart Guide - Second Edition
$ 17.99
$ 9.00