Skip to content

Commit

Permalink
add ability to specify job timeout (#7237)
Browse files Browse the repository at this point in the history
* add ability to specify manual timeout

* use accepted spelling of "parameters"
  • Loading branch information
danieljurek authored Sep 12, 2019
1 parent 3a97e09 commit 977cbda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:
BeforePublishSteps: []
TestMarkArgument: ''
BuildTargetingString: 'azure-*'
TestTimeoutInMinutes: 0

jobs:
- job: 'Build'
Expand Down Expand Up @@ -33,6 +34,7 @@ jobs:
- template: ../steps/analyze.yml

- job: 'Test'
timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
variables:
- template: ../variables/globals.yml

Expand Down
3 changes: 2 additions & 1 deletion sdk/cognitiveservices/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ pr:
jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
ServiceDirectory: cognitiveservices
ServiceDirectory: cognitiveservices
TestTimeoutInMinutes: 75

0 comments on commit 977cbda

Please sign in to comment.