Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
Родитель
0d4674aeeb
Коммит
20af104353
|
@ -44,14 +44,8 @@ steps:
|
|||
.\setup-tests.ps1
|
||||
displayName: 'Setting tests'
|
||||
- pwsh: |
|
||||
$proc = start-process -filepath $(System.DefaultWorkingDirectory)\Azure.Functions.Cli\func.exe -WorkingDirectory "$(System.DefaultWorkingDirectory)\endtoendtests\target\azure-functions\azure-functions-java-endtoendtests" -ArgumentList "host start --java" -RedirectStandardOutput "output.txt" -RedirectStandardError "error.txt" -PassThru
|
||||
# wait for host to start
|
||||
Start-Sleep -s 30
|
||||
.\run-tests.ps1
|
||||
Stop-Process -Id $proc.Id -Erroraction Ignore
|
||||
# Output standard input stream and error stream
|
||||
Write-Output "Standard input stream :" (gc ".\output.txt")
|
||||
Write-Output "Standard error stream :" (gc ".\error.txt")
|
||||
displayName: 'running tests'
|
||||
env:
|
||||
AzureWebJobsStorage: $(AzureWebJobsStorage)
|
||||
AzureWebJobsCosmosDBConnectionString: $(AzureWebJobsCosmosDBConnectionString)
|
||||
|
|
Загрузка…
Ссылка в новой задаче