2021-01-29 21:42
341925 surenpi 1578920642 LinuxSuRen

What’s Changed

In some cases, we might need to add or remove parameters from Pipeline. It's terrible if you need to deal with too many Pipelines manually. You can add parameters via: jcli job param init-job --add '[{"name":"name","value":"my name","desc":"this is a name"}]'

Delete many job build history across different jobs is also very simple. See also: jcli job history init-job -d 1

Sometimes, it's very slow to download jenkins.war. From now, jcli can download it with multiple threads. For example:

# jcli center download -t 8
start to download with 8 threads, size: 67287051, unit: 8410881

Another big feature is that, jcli can start Jenkins in Docker with a single command:

jcli center start -m docker --image kubespheredev/ks-jenkins --version 2.249.1 --c-user root --port 9090 --setup-wizard=false

The star from GitHub is 234, star from Gitee is 251. The download is 11,168.

🚀 Features

  • Fix the random web for center start do not work (#520) @LinuxSuRen
  • Add support to delete job history (#519) @LinuxSuRen
  • Add support to add or remove pipeline parameters (#513) @LinuxSuRen
  • Allow user put shell into config data (#518) @LinuxSuRen
  • Add an option to download jenkins.war with multi-thread (#517) @LinuxSuRen
  • Add an option to clean the JENKINS_HOME before start run plugin (#506) @LinuxSuRen
  • Add an option to force pull image before start it (#503) @LinuxSuRen
  • Sperate code into another project (#500) @LinuxSuRen
  • Fix cannot upgrade itself on linux (#495) @LinuxSuRen
  • Refactory with computer launch command (#491) @LinuxSuRen
  • Add command alias support (#494) @LinuxSuRen
  • Sperate cli plugin into a single git repo (#492) @LinuxSuRen
  • Support run golang image as JNLP agent (#489) @LinuxSuRen
  • Support run Jenkins agent as docker (#488) @LinuxSuRen

👻 Maintenance

  • Fix the unavailable GitHub release stats service (#512) @LinuxSuRen
  • Bump upx version (#516) @LinuxSuRen
  • Bump github.com/magiconair/properties from 1.8.1 to 1.8.4 (#482) @dependabot
  • Bump github.com/linuxsuren/http-downloader from 0.0.2 to 0.0.10 (#515) @dependabot
  • Bump github.com/linuxsuren/cobra-extension from 0.0.5 to 0.0.10 (#514) @dependabot
  • Bump golang.org/x/text from 0.3.4 to 0.3.5 (#508) @dependabot
  • Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#509) @dependabot
  • Improve the jcli completion document (#507) @LinuxSuRen
  • Add more labels (#505) @LinuxSuRen
  • Bump github.com/AlecAivazis/survey/v2 from 2.2.2 to 2.2.7 (#502) @dependabot
  • Bump github.com/linuxsuren/cobra-extension from 0.0.3 to 0.0.5 (#497) @dependabot
  • Bump github.com/linuxsuren/go-cli-alias from 0.0.3 to 0.0.4 (#498) @dependabot
  • Bump goreleaser/goreleaser-action from v2.4.0 to v2.4.1 (#490) @dependabot
  • Bump github.com/linuxsuren/cobra-extension from 0.0.1 to 0.0.3 (#496) @dependabot
  • Bump goreleaser/goreleaser-action from v2.3.0 to v2.4.0 (#486) @dependabot
  • Bump goreleaser/goreleaser-action from v1 to v2.3.0 (#480) @dependabot
  • Update actions/checkout requirement to v2.3.4 (#478) @dependabot
  • Bump actions/setup-go from v1 to v2.1.3 (#479) @dependabot
  • Bump jenkins-zh/git-backup-actions from v0.0.3 to v0.0.4 (#477) @dependabot