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:
parent
fc5cf8a54f
commit
4148652271
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user