Skip to content

Commit 0795d4d

Browse files
committed
Pass api key into container
Signed-off-by: Stefan Scherer <[email protected]>
1 parent 56844a9 commit 0795d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pipeline {
3333
NugetAPIKey = credentials('nuget-api-key')
3434
}
3535
steps {
36-
bat 'docker run --rm -v %cd%:C:/work -w C:/work/src mcr.microsoft.com/dotnet/framework/sdk:4.8 powershell -File build.ps1 -Target Nuget-push'
36+
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'
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)