O'Reilly logo

Extending Jenkins by Donald Simpson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Jenkins CLI

In this section, we will review the Jenkins CLI—this is another Jenkins extension point that can be extremely useful in certain situations—typically it is used to run commands against a remote Jenkins server, performing functions such as triggering builds or updating configurations.

How to set it up

In order to use the Jenkins CLI, you need the "jenkins-cli.jar" file.

This can be quickly and easily fetched from your own Jenkins server. If you append "/cli" to the web address of your Jenkins instance, you should see a page similar to this:

How to set it up

This URL provides everything you should need to get started with the Jenkins CLI.

There is a link ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required