fabric8io / jenkins-docker

docker file for a jenkins docker image
84 stars 96 forks source link

Questions: when and how to initialize environment variables #141

Closed haikuo81 closed 7 years ago

haikuo81 commented 7 years ago

when I docker run jenkins-docker images, and I didn't find env variable FABRIC8_DOCKER_REGISTRY_SERVICE_HOST and FABRIC8_DOCKER_REGISTRY_SERVICE_PORT,

but when using fabric8 devops yaml file to create jenkins pod, then go to pod, input env command, then find FABRIC8_DOCKER_REGISTRY_SERVICE_HOST, FABRIC8_DOCKER_REGISTRY_SERVICE_PORT and lots of other variables, I searched yaml files, there isn't any related env definition, so how are the environment variables created?

jenkins yaml files:

https://github.com/fabric8io/fabric8-devops/tree/master/jenkins/src/main/fabric8

Thanks.