Chapter 4. The API and the CLI

In the previous chapter, we looked at several ways in which we can interact with Jenkins and extend its use so that developers can benefit directly from within their development environments.

The plugins and add-ons that we looked at were obviously, somehow, able to fetch "live" data from Jenkins in order to convey this data directly to the client environment (the developers' IDE).

In this chapter, we will take a look at how these plugins were able to access this information, and we will explore the various mechanisms and interfaces that Jenkins provides for programmatic interactions, for example, the Jenkins Application Programming Interface (API). We will also explore the Jenkins Command-line Interface (CLI), which ...

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.