Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Pragna Gopa 2019-07-23 19:57:57 -07:00
Родитель 0d4674aeeb
Коммит 20af104353
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -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)