[JIRA] (OVIRT-2359) Set environment variable in jenkins user's env to inidicate it's a container

[ https://ovirt-jira.atlassian.net/browse/OVIRT-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37576#comment-37576 ] Barak Korren commented on OVIRT-2359: ------------------------------------- Here is how you can gain access to the env vars you passed to Dokcer, no need to pass them as files: https://unix.stackexchange.com/questions/146995/inherit-environment-variable... and, as mentioned on that ticket, its a good idea to have an early one-shot service that will copy the variables you need into /etc/environment to make them available to non-root services.
Set environment variable in jenkins user's env to inidicate it's a container ----------------------------------------------------------------------------
Key: OVIRT-2359 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2359 Project: oVirt - virtualization made easy Issue Type: Task Reporter: Daniel Belenky Assignee: infra
We need to set a variable under the jenkins user that will indicate we're running inside a container.
-- This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100090)
participants (1)
-
Barak Korren (oVirt JIRA)