Chapter 5. Extension Points

In this chapter, we will introduce and explore the theory and design concepts used while developing Jenkins plugins. We will cover the high-level concepts here with some generic examples as a preparation for the next two chapters where we will see how to implement these ideas for real.

In this chapter, we will take a look at the following design patterns:

  • Interfaces
  • Abstract classes
  • Singletons

Also, we will review several important design concepts:

  • Design by contract
  • Extension points
  • Creating extensions
  • Annotations

A brief history of Jenkins plugins

There are thousands of plugins available for Jenkins, and they cover a vast range of tasks and provide a wealth of valuable resources for the community that uses and works with Jenkins. ...

Get Extending Jenkins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.