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