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

Remove password from prying eyes #16

Merged
merged 2 commits into from
Dec 16, 2017
Merged

Remove password from prying eyes #16

merged 2 commits into from
Dec 16, 2017

Conversation

paddy-hack
Copy link
Contributor

This addresses part of Password disclosure with Jenkins Swarm plugin. It moves the password into an environment variable and run the swarm plugin CLI as a non-root user (that has access to the Docker socket).

Workspace ownership and group will have to be modified to match the jenkins user in the swarm-agent container (numeric ID 1000).

Downside: now it's in the `env` output unless the swarm plugin deletes
it :-(
This assumes the swarm-plugin CLI does not run with root privileges.
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.

2 participants