jenkins-cli-python icon indicating copy to clipboard operation
jenkins-cli-python copied to clipboard

WIP: Separate job bash completion for environments

Open radomirbosak opened this issue 7 years ago • 0 comments

This PR is still work in progress and includes the bash part of a fix for #47.

This still needs to be done:

  • [ ] modify python part of the code to generate different caches
  • [ ] some kind of environment name check/sanitization/escaping

Note that this PR only takes the -e/--environment option into account, --host and --username are ignored.

The bash completion script now searches for the cache file ~/.cache/python-jenkins-cli/job_cache_$ENV where $ENV is parsed from the commandline (the value that follows the -e/--environment switch).

Fixes #47

radomirbosak avatar Jun 07 '17 21:06 radomirbosak