Search…
Download

JFrog Bintray

You can download jcli from bintray.com/jenkins-zh.
curl -L "https://bintray.com/jenkins-zh/jenkins-cli/download_file?file_path=v0.0.24%2Fjcli-darwin-amd64.tar.gz"|tar xzv
Get all versions from here.

YUM

Add YUM source repo by the following command:
1
cat > bintray-jenkins-zh-rpm.repo <<EOF
2
#bintraybintray-jenkins-zh-rpm - packages by jenkins-zh from Bintray
3
[bintraybintray-jenkins-zh-rpm]
4
name=bintray-jenkins-zh-rpm
5
baseurl=https://dl.bintray.com/jenkins-zh/rpm
6
gpgcheck=0
7
repo_gpgcheck=0
8
enabled=1
9
EOF
10
sudo mv bintray-jenkins-zh-rpm.repo /etc/yum.repos.d/
11
sudo yum update
Copied!
then you can install it by: yum install jcli

Debian

Add deb source repo by the following command:
1
echo "deb [trusted=yes] https://dl.bintray.com/jenkins-zh/deb wheezy main" | sudo tee -a /etc/apt/sources.list
2
sudo apt update
Copied!
then you can install it by: sudo apt-get install jcli

Image

Also you can try the following ways:
jcli_id=$(docker create jenkinszh/jcli) && sudo docker cp $jcli_id:/usr/local/bin/jcli /usr/local/bin/jcli && docker rm -v $jcli_id
Download different version of OS? Just need to change the docker image tag:
image
description
jenkinszh/jcli
Linux
jenkinszh/jcli:darwin
Mac
jenkinszh/jcli:win
Windows, you can find it from /usr/local/bin/jcli.exe
jenkinszh/jcli:dev
Developing version, find can find them from /bin/linux/jcli or /bin/darwin/jcli or /bin/windows/jcli.exe
Want to try the latest features? Download the developing version of different platform:
  • 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

Out-of-date

Below distributions are out-of-date. If you want to maintain them, please let us know.
  • GoFish users can use gofish install jcli
  • Chocolatey users can use choco install jcli
  • Snapcraft users can use sudo snap install jcli
Last modified 1mo ago
Export as PDF
Copy link