jenkins-cli
jenkins-cli copied to clipboard
Add support to save config file on a git provider
Is your feature request related to a problem? Please describe. Case 1: I have two computers, one is at home, another is at my company. I need to copy the config file from one place to another place. Case 2: Our team has serval Jenkins servers need to manage. Sharie those config files are quite helpful to us.
Describe the solution you'd like It'll be super helpful if store these config files in git.
jcli config init https://github.com/jenkins-zh/sample-fake-config.git
could be a solution to fetch the config files.
Consider how to update the config files.
Describe alternatives you've considered None.
Additional context None.
Another similar solution is that support multiple config path. For example, the default config path is ~/.jenkins-cli.yaml
. We can have more paths to resolve. Find the config file from the current directory, then find ~/.jenkins-cli.yaml
, then ~/.jenkins-cli/.jenkins-cli.yaml