From b7e05e453b6b3f106f88803113e4aa332d0b1f7f Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 25 May 2018 12:46:32 -0700 Subject: [PATCH] Try to fix Jenkins (#870) --- build/buildpipeline/windows.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/buildpipeline/windows.groovy b/build/buildpipeline/windows.groovy index f756534198..249f595d47 100644 --- a/build/buildpipeline/windows.groovy +++ b/build/buildpipeline/windows.groovy @@ -8,7 +8,7 @@ simpleNode('Windows.10.Enterprise.RS3.ASPNET') { } stage ('Build') { def logFolder = getLogFolder() - def environment = "set ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}\\${logFolder}" - bat "${environment}&.\\run.cmd -CI default-build /p:Configuration=${params.Configuration}" + def environment = "\$env:ASPNETCORE_TEST_LOG_DIR=\"${WORKSPACE}\\${logFolder}\"" + batchFile ("powershell -Command \"&.\\tools\\update_schema.ps1;${environment};&.\\run.ps1 -CI default-build /p:Configuration=${params.Configuration}\"") } }