We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be possible to add support for JENKINS_USER and JENKINS_PASSWORD environment variables to auto-create a user to work with at boot?
JENKINS_USER
JENKINS_PASSWORD
Digging out the admin password would then be unnecessary and make it easier to script deterministic usage of Jenkins in docker.
The text was updated successfully, but these errors were encountered:
Is it currently possible to do this in any way?
Sorry, something went wrong.
I just find the admin password and start issuing commands, eg. this script:
https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/jenkins/jenkins.sh#L83
which calls this script below to find the password before continuing to issue jenkins cli commands:
https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/jenkins/jenkins_password.sh
I also have a jenkins_cli.sh script to minimize the amount of arguments and make calls simpler (I have a lot of convenience scripts in this repo):
https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/jenkins/jenkins_cli.sh
No branches or pull requests
Would it be possible to add support for
JENKINS_USER
andJENKINS_PASSWORD
environment variables to auto-create a user to work with at boot?Digging out the admin password would then be unnecessary and make it easier to script deterministic usage of Jenkins in docker.
The text was updated successfully, but these errors were encountered: