Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Extending Jenkins

You're reading from   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

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785284243
Length 152 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Donald Simpson Donald Simpson
Author Profile Icon Donald Simpson
Donald Simpson
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Preparatory Steps FREE CHAPTER 2. Automating the Jenkins UI 3. Jenkins and the IDE 4. The API and the CLI 5. Extension Points 6. Developing Your Own Jenkins Plugin 7. Extending Jenkins Plugins 8. Testing and Debugging Jenkins Plugins 9. Putting Things Together Index

Creating an Information Radiator with the Jenkins XML API


In order to illustrate how you can use the Jenkins API to extract live information from Jenkins programmatically, we're going to take a high-level look at a practical example—creating an Information Radiator that fetches Jenkins information and displays it in an external web page. We will not be writing all of the code for this in detail; however, we will analyze the basic building blocks in sufficient detail so that you are able to adopt the general approach and develop your own customized solution in the language of your choice.

Information Radiators are simple but useful live web pages that allow people to easily monitor the status of your most crucial Jenkins jobs in real time. This is quite similar to the IDE plugins we looked at earlier, but instead these indicators are displayed on television screens in an office to radiate the information

The convention for Information Radiators is to keep it simple—to have as few jobs as possible...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image