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

Fix: Spaces in Jenkins project name #178

Merged
merged 1 commit into from
Jul 29, 2017
Merged

Fix: Spaces in Jenkins project name #178

merged 1 commit into from
Jul 29, 2017

Conversation

Jerbell
Copy link

@Jerbell Jerbell commented Jul 28, 2017

Where your Jenkins project contains spaces, the temporary kubectl config file will also create spaces. The file location need to be wrapped in quotes to work with the kubectl shell commands.
For example:
kubectl config --kubeconfig="My Jenkins Project/.kube8017077765813839285config" use-context k8s
rather than:
kubectl config --kubeconfig=My Jenkins Project/.kube8017077765813839285config use-context k8s

@carlossg carlossg merged commit 17c5435 into jenkinsci:master Jul 29, 2017
@carlossg
Copy link
Contributor

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants