1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

dockerExecuteOnKubernetes: hand ON_K8S env var down into container (#778)

* hand ON_K8S env var down into container

* fix Sonar findings

* add ON_K8S to SystemEnv

* remove ON_K8S handling from step
This commit is contained in:
Christopher Fenner 2019-07-04 13:46:27 +02:00 committed by GitHub
parent fc5cf8a54f
commit 4148652271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
package com.sap.piper.k8s
import com.cloudbees.groovy.cps.NonCPS
class SystemEnv implements Serializable {
@ -12,7 +13,8 @@ class SystemEnv implements Serializable {
'NO_PROXY',
'http_proxy',
'https_proxy',
'no_proxy'
'no_proxy',
'ON_K8S'
]
SystemEnv() {