From e2836e47efda41122c1d7f6d54c751b057fb0ce7 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Wed, 23 Oct 2019 21:32:12 +0200 Subject: [PATCH] Fix passing env Signed-off-by: Stefan Scherer --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b30a64e..ec779ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,7 @@ pipeline { NugetAPIKey = credentials('nuget-api-key') } steps { - bat 'docker run --rm -v %cd%:C:/work -w C:/work/src mcr.microsoft.com/dotnet/framework/sdk:4.8-20190910-windowsservercore-ltsc2019 -e NugetAPIKey powershell -File build.ps1 -Target Nuget-push' + bat 'docker run --rm -v %cd%:C:/work -w C:/work/src -e NugetAPIKey mcr.microsoft.com/dotnet/framework/sdk:4.8-20190910-windowsservercore-ltsc2019 powershell -File build.ps1 -Target Nuget-push' } } }