1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

Update dockerExecute.groovy

This commit is contained in:
Ramachandra Kamath Arbettu 2018-06-07 12:08:28 +02:00 committed by GitHub
parent 259cc9bfeb
commit e612cd1fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ def call(Map parameters = [:], body) {
if (k8s) {
echo "redirecting to executeDocker"
echo "envVars can be ${new EnvVars().masterEnvVars}"
executeDocker(dockerImage:parameters.dockerImage,dockerEnvVars:parameters.dockerEnvVars,dockerOptions:parameters.dockerOptions,dockerVolumeBind:parameters.dockerVolumeBind) {
body()
}