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

pass information on Jenkins user to container launch script #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jcarrothers-sap
Copy link

Some container launch scripts may need to know the username and user/group IDs
of the Jenkins user which the actual build steps will run as. In particular
the container launch script may want to provide a background service, such as
a graphical environment, for use during the build.

This change passes in this information as part of the container's process
environment.

@jcarrothers-sap
Copy link
Author

I'm flexible about the exact name of the environment variables.

@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

Some container launch scripts may need to know the username and user/group IDs
of the Jenkins user which the actual build steps will run as.  In particular
the container launch script may want to provide a background service, such as
a graphical environment, for use during the build.

This change passes in this information as part of the container's process
environment.
@jcarrothers-sap
Copy link
Author

Is there anything I can do to move this PR along? This change has been working well in our internal Jenkins environment for nearly 2 years now.

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