Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Separate job bash completion for environments #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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