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

Ansible to configure jenkins global env var #1

Open
jinal--shah opened this issue Jan 16, 2019 · 0 comments
Open

Ansible to configure jenkins global env var #1

jinal--shah opened this issue Jan 16, 2019 · 0 comments

Comments

@jinal--shah
Copy link
Contributor

Automatically add DOCKER_HOST via ansible as jenkins global env var.

Should be private ip of instance? Will that work when using docker-in-docker?

See:
https://devops.datenkollektiv.de/programatically-add-environment-variables-to-a-jenkins-instance.html

Also, lots of groovy groovy here for configuring global jenkins properties:
https://github.com/Praqma/JenkinsAsCodeReference/blob/master/dockerizeit/master/globalconfig.groovy

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

No branches or pull requests

1 participant