jcli v0.0.32 Release Notes
Release Date: 2020-11-27 // about 4 years ago-
Whatβs Changed
π This is a small release version. The main idea of this is to remove CASC from jcli core. You want to use it. Please see here.
π± π Features
- π§ Move casc sub-command into jcli-casc-plugin (#475) @LinuxSuRen
π± π Bug Fixes
- π Fix the missing checking of the 'current' option in the config file (#474) @gocruncher
- π Fix the wrong path of config plugin (#472) @LinuxSuRen
π§ π» Maintenance
- β¬οΈ Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 (#476) @dependabot-preview
Previous changes from v0.0.31
-
Whatβs Changed
π It's been a long time not to have a release of jcli. But it's totally worth to upgrade it. Let's see what you can get.
Normally, you need to set up the config file of jcli if this is the first time you install it. Generating the user token from Jenkins, then write it back to the config file is a pretty annoying process. But it's not necessary anymore. It can be automatically now. You just need to run the following command:
jcli center login
π It will open the browser, and your config file will be ready once you login into Jenkins. But there's one limitation that does exist. Jenkins and your computer must be about to connect to each other. Besides, you need to install one more plugin.
π¦ The second feature is the Jenkins formula. Thanks @oleg-nenashev for taking the initiative to start Custom Jenkins WAR packager. We can generate a custom distribution of Jenkins. jcli support to export a formula from a Jenkins. Also, it can install all plugins that come from a Jenkins formula file. Check out these two commands below:
jcli plugin formula > formual.yaml # export into a YAML formula file jcli plugin install --formula formual.yaml # install plugins from a formula file
π³ The third feature is that we can run Jenkins as a docker container via
jcli center start -m docker
.π What is next? I know a lot of newcomers to Jenkins feel terrible when they meet the plugins dependency issues. So please don't hesitate to file a pull request to close this issue if you're interested.
β¬οΈ Do you want to upgrade? It's very simple:
jcli version upgrade
.π± π Features
- π Improve plugin upload command (#440) @LinuxSuRen
- π Improve the version upgrade of jcli (#435) @LinuxSuRen
- β Add support to install plugins via Jenkins formula (#469) @LinuxSuRen
- β Add support fetch Jenkins token automatically (#469) @LinuxSuRen
- β Add support to connect to ssh server (#468) @LinuxSuRen
- β Add support to run docker image with center start cmd (#464) @LinuxSuRen
- β Add support to download a plugin with specific version (#465) @LinuxSuRen
- β Add http proxy support which can ready from env variable (#414) @LinuxSuRen
- β Add an option to print cwp version (#462) @LinuxSuRen
- π Support export current Jenkins as a formula (#458) @LinuxSuRen
- β Add a global timeout option for all commands (#446) @LinuxSuRen
- π Improve the self-upgrade when no privileges (#437) @LinuxSuRen
π π Documentation updates
- β Add documentation for more package manager (#461) @LinuxSuRen
π§ π» Maintenance
- β¬οΈ Bump github.com/spf13/cobra from 1.0.0 to 1.1.1 (#452 #453) @dependabot-preview
- β¬οΈ Bump github.com/AlecAivazis/survey/v2 from 2.0.8 to 2.2.2 (#445 #459) @dependabot-preview
- β¬οΈ Bump github.com/onsi/ginkgo from 1.14.0 to 1.14.2 (#449 #451) @dependabot-preview
- β¬οΈ Bump github.com/onsi/gomega from 1.10.1 to 1.10.3 (#448 #450) @dependabot-preview
- β¬οΈ Bump golang.org/x/text from 0.3.2 to 0.3.4 (#444 #454) @dependabot-preview
- β¬οΈ Bump go.uber.org/zap from 1.15.0 to 1.16.0 (#447) @dependabot-preview
- β¬οΈ Bump github.com/golang/mock from 1.4.3 to 1.4.4 (#442) @dependabot-preview