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

Learning
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
$27.99
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

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