Try to fix Jenkins (#870)

This commit is contained in:
Pavel Krymets 2018-05-25 12:46:32 -07:00 committed by GitHub
parent a8122026a6
commit b7e05e453b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ simpleNode('Windows.10.Enterprise.RS3.ASPNET') {
} }
stage ('Build') { stage ('Build') {
def logFolder = getLogFolder() def logFolder = getLogFolder()
def environment = "set ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}\\${logFolder}" def environment = "\$env:ASPNETCORE_TEST_LOG_DIR=\"${WORKSPACE}\\${logFolder}\""
bat "${environment}&.\\run.cmd -CI default-build /p:Configuration=${params.Configuration}" batchFile ("powershell -Command \"&.\\tools\\update_schema.ps1;${environment};&.\\run.ps1 -CI default-build /p:Configuration=${params.Configuration}\"")
} }
} }