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.
Add YUM source repo by the following command:
cat > bintray-jenkins-zh-rpm.repo <<EOF
#bintraybintray-jenkins-zh-rpm - packages by jenkins-zh from Bintray
[bintraybintray-jenkins-zh-rpm]
name=bintray-jenkins-zh-rpm
baseurl=https://dl.bintray.com/jenkins-zh/rpm
gpgcheck=0
repo_gpgcheck=0
enabled=1
EOF
sudo mv bintray-jenkins-zh-rpm.repo /etc/yum.repos.d/
sudo yum update
then you can install it by: yum install jcli
Add deb source repo by the following command:
echo "deb [trusted=yes] https://dl.bintray.com/jenkins-zh/deb wheezy main" | sudo tee -a /etc/apt/sources.list
sudo apt update
then you can install it by: sudo apt-get install jcli
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
Below distributions are out-of-date. If you want to maintain them, please let us know.
gofish install jcli
choco install jcli
sudo snap install jcli
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。