Jenkins Command line CLI Jenkins-cli.jar

Source: Internet
Author: User

After Jenkins is deployed, Jenkins is generally manipulated through the Web interface provided by Jenkins.

Some scenarios require a command to manipulate Jenkins, such as a script.

A simple introduction to Jenkins's command line in the Web interface provided by Jenkins, located in the Jenkins CLI , System Management

Click System Management here:

Click on the Jenkins CLI:

Then it will go to the http://xxxip:8080/cli/page.

Looks like this:

You can see that this page gives some introduction to the Jenkins CLI, which is the command-line tool for Jenkins. To use Jenkins's command line, you need to download Jenkins's command-line tool: Jenkins-cli.jar. And all the commands on this page are described in detail. Click on the appropriate command to link to the appropriate introductory document page.

For example, this is an introduction to the build command:

Once downloaded, follow the prompts to manipulate the browser as a command line.

For example, build an existing job:

Java-jar jenkins-cli.jar-s http://xxxip:8080/ build myjob# The above-s parameter specifies the address of the Jenkins service, and then adds the build command, The build command is followed by the job name that needs to be built

Jenkins Command line CLI Jenkins-cli.jar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.