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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access