Extending Jenkins

Get a complete walkthrough of the many interfaces available in Jenkins with the help of real-world examples to take you to the next level with Jenkins

Extending Jenkins

Donald Simpson

1 customer reviews
Get a complete walkthrough of the many interfaces available in Jenkins with the help of real-world examples to take you to the next level with Jenkins
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.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
$19.60
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785284243
Paperback152 pages

Book Description

Jenkins CI is the leading open source continuous integration server. It is written in Java and has a wealth of plugins to support the building and testing of virtually any project. Jenkins supports multiple Software Configuration Management tools such as Git, Subversion, and Mercurial.

This book explores and explains the many extension points and customizations that Jenkins offers its users, and teaches you how to develop your own Jenkins extensions and plugins.

First, you will learn how to adapt Jenkins and leverage its abilities to empower DevOps, Continuous Integration, Continuous Deployment, and Agile projects. Next, you will find out how to reduce the cost of modern software development, increase the quality of deliveries, and thereby reduce the time to market. We will also teach you how to create your own custom plugins using Extension points.

Finally, we will show you how to combine everything you learned over the course of the book into one real-world scenario.

Table of Contents

Chapter 1: Preparatory Steps
Getting started with Jenkins
Extending the basic setup
Jenkins evolution
Continuous Integration with Jenkins
Summary
Chapter 2: Automating the Jenkins UI
Use case scenario 1 – a large number of jobs
Use case scenario 2 – multiple hosts
Use case scenario 3 – helping your users through UI automation
Use case scenario 4 – UI tweaks
Summary
Chapter 3: Jenkins and the IDE
Eclipse and Mylyn
Installing Mylyn
IntelliJ IDEA and Jenkins build connectors
NetBeans
Summary
Chapter 4: The API and the CLI
Creating an Information Radiator with the Jenkins XML API
Getting the information from Jenkins
Automating the job
Radiating the information
Jenkins as a web server – the userContent directory
The Jenkins CLI
Summary
Chapter 5: Extension Points
A brief history of Jenkins plugins
Interfaces
Abstract classes
Abstraction and interfaces
Singletons
Declaring an extension in Jenkins
Summary
Chapter 6: Developing Your Own Jenkins Plugin
An introduction to Maven
Installing Maven
Summary
Chapter 7: Extending Jenkins Plugins
Where to start?
Looking at the list of existing plugins
A new build type required
Loading and building our starting point
The Builder class and Stapler
Jelly and Jenkins
Help
Properties files and Messages
The POM file
Plugin progress
Summary
Chapter 8: Testing and Debugging Jenkins Plugins
Running tests with Maven
Debugging Jenkins
The Jenkins Logger Console
Summary
Chapter 9: Putting Things Together
The Jenkins script console and Groovy
Groovy and Gradle as alternatives
Jenkins and Docker
Jenkins and Android
Jenkins and iOS
Keeping your Jenkins version and plugins up to date
Summary

What You Will Learn

  • Retrieve and act upon Jenkins information in real time
  • Find out how to interact with Jenkins through a variety of IDEs
  • Develop your own Form and Input validation and customization
  • Explore how Extension points work, and develop your own Jenkins plugin
  • See how to use the Jenkins API and command-line interface
  • Get to know how to remotely update your Jenkins configuration
  • Design and develop your own Information Radiator
  • Discover how Jenkins customization can help improve quality and reduce costs

Authors

Table of Contents

Chapter 1: Preparatory Steps
Getting started with Jenkins
Extending the basic setup
Jenkins evolution
Continuous Integration with Jenkins
Summary
Chapter 2: Automating the Jenkins UI
Use case scenario 1 – a large number of jobs
Use case scenario 2 – multiple hosts
Use case scenario 3 – helping your users through UI automation
Use case scenario 4 – UI tweaks
Summary
Chapter 3: Jenkins and the IDE
Eclipse and Mylyn
Installing Mylyn
IntelliJ IDEA and Jenkins build connectors
NetBeans
Summary
Chapter 4: The API and the CLI
Creating an Information Radiator with the Jenkins XML API
Getting the information from Jenkins
Automating the job
Radiating the information
Jenkins as a web server – the userContent directory
The Jenkins CLI
Summary
Chapter 5: Extension Points
A brief history of Jenkins plugins
Interfaces
Abstract classes
Abstraction and interfaces
Singletons
Declaring an extension in Jenkins
Summary
Chapter 6: Developing Your Own Jenkins Plugin
An introduction to Maven
Installing Maven
Summary
Chapter 7: Extending Jenkins Plugins
Where to start?
Looking at the list of existing plugins
A new build type required
Loading and building our starting point
The Builder class and Stapler
Jelly and Jenkins
Help
Properties files and Messages
The POM file
Plugin progress
Summary
Chapter 8: Testing and Debugging Jenkins Plugins
Running tests with Maven
Debugging Jenkins
The Jenkins Logger Console
Summary
Chapter 9: Putting Things Together
The Jenkins script console and Groovy
Groovy and Gradle as alternatives
Jenkins and Docker
Jenkins and Android
Jenkins and iOS
Keeping your Jenkins version and plugins up to date
Summary

Book Details

ISBN 139781785284243
Paperback152 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Mastering Jenkins Book Cover
Mastering Jenkins
$ 39.99
$ 28.00
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Orchestrating Docker Book Cover
Orchestrating Docker
$ 14.99
$ 10.50