Quick learning-Jenkins CLI download

download

JFrog Bintray

You can download it from bintray.com/jenkins-zhjcli .

curl -L "https://bintray.com/jenkins-zh/jenkins-cli/download_file?file_path=v0.0.24%2Fjcli-darwin-amd64.tar.gz"|tar xzv

Click here to view all versions.

YUM

Add the YUM source with the following command:

```shell script wget https://bintray.com/jenkins-zh/rpm/rpm -O /etc/yum.repos.d/bintray-jcli.repo

然后,你就可以安装了:`yum install jcli`

## Debian

通过下面的命令添加 deb 源:

```shell script
echo "deb https://dl.bintray.com/jenkins-zh/deb wheezy main" | sudo tee -a /etc/apt/sources.list

Then, you can install:sudo apt-get install jcli

Mirror

You can also try the following methods:

jcli_id=$(docker create jenkinszh/jcli) && sudo docker cp $jcli_id:/usr/local/bin/jcli /usr/local/bin/jcli && docker rm -v $jcli_id

Want to download binary files under different operating systems? Just modify the label of the docker container:

Mirror description
jenkinszh/jcli Linux
jenkinszh/jcli:darwin Mac
jenkinszh/jcli:win Windows, you can from /usr/local/bin/jcli.exefind executable program here
jenkinszh/jcli:dev You can find the development version from here /bin/linux/jcli, /bin/darwin/jclior/bin/windows/jcli.exe

Want to experience the latest features? You can download the development version under different platforms:

  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/linux/jcli . && docker rm -v $jcli_id
  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/darwin/jcli . && docker rm -v $jcli_id
  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/windows/jcli.exe . && docker rm -v $jcli_id

Outdated

The hair styles below will not be updated in time. If you are interested in helping to maintain them, please let us know, thank you.

  • GoFish users can use the command gofish install jclito install
  • Chocolatey users can use the command choco install jclito install
  • Snapcraft users can use the command sudo snap install jclito install

Guess you like

Origin blog.csdn.net/weixin_42528266/article/details/108626487