Hi all.
Env vars being set to the same value in global Jenkins config and
docker host are being removed from the environment of started containers.
This just struck me with proxy settings.
E.g. set
in global Jenkins config and on a node running docker (envvartesthost below).
Now with following pipeline assert that http_proxy is not showing up.
pipeline {
agent {
docker {
image "busybox"
label "envvartesthost"
}
}
stages {
stage ("envvartest") {
steps {
sh "env"
}
}
}
}
Does anyone know the ratio behind this?
TIA
Sascha