jcli v0.0.32 Release NotesRelease Date: 2020-11-27 // 3 months ago
🚀 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
🍱 🐛 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
Previous changes from v0.0.31
🚀 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
🚧 👻 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