Skip to content

Conversation

@radomirbosak
Copy link
Contributor

@radomirbosak radomirbosak commented Jun 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bash auto completion for job names should respect selected environment

1 participant