Book Image

Extending Jenkins

By : Donald Simpson
Book Image

Extending Jenkins

By: Donald Simpson

Overview of this book

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 (16 chapters)
Extending Jenkins
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Where to start?


So, after checking the Jenkins site and the community, we have decided to write a new plugin, as nothing out there (or currently in the works) will do whatever it is we want; where do we start?

We could start off with a new blank Eclipse project and write everything ourselves if we really wanted to, but that would take ages.

We could use the skeleton Hello World project, delete what is in there, and start adding our code to that, but this doesn't sound like the sort of approach we'd expect to follow, given all the code reuse and avoidance of duplication we've been talking about for a while now.

Even if you have a completely novel idea for a plugin, there is bound to be something roughly related to it out there already; even if this doesn't provide the functionality that we want, it may work in a similar way or use many of the same extension points that we have identified as being of interest to us, so it's worth checking this out.