Using more succinct syntax for job timeout

This commit is contained in:
Dmitry Voitsekhovskiy 2019-09-30 18:06:58 +03:00 коммит произвёл Tom Minka
Родитель 9118d1c360
Коммит 0ff9f0b13e
1 изменённых файлов: 16 добавлений и 17 удалений

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

@ -7,26 +7,25 @@
resources:
- repo: self
clean: true
queue:
timeoutInMinutes: 120
trigger: none # disable CI build
variables:
buildConfiguration: 'Release'
jobs:
- job: PR_Netcore
timeoutInMinutes: 120
steps:
- task: DotNetCoreInstaller@0
inputs:
packageType: 'sdk'
version: '2.1.403'
steps:
- task: DotNetCoreInstaller@0
inputs:
packageType: 'sdk'
version: '2.1.403'
- script: |
dotnet build /p:DisableImplicitNuGetFallbackFolder=true --configuration $(buildConfiguration)Core Infer.sln
displayName: Build Solution
- template: netcoretest-fast.yml
parameters:
Configuration: '$(buildConfiguration)Core'
- script: |
dotnet build /p:DisableImplicitNuGetFallbackFolder=true --configuration $(buildConfiguration)Core Infer.sln
displayName: Build Solution
- template: netcoretest-fast.yml
parameters:
Configuration: '$(buildConfiguration)Core'