Skip to content

Commit

Permalink
Optimize checkout (Azure#4982)
Browse files Browse the repository at this point in the history
* Explicit checkout on build step to test.

* Adding checkout steps to test and analyze.
  • Loading branch information
mitchdenny authored and pull[bot] committed Aug 14, 2019
1 parent d364372 commit 81b0d20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
JavaVersion: '1.11'

steps:
- checkout: self
fetchDepth: 1

- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
Expand Down Expand Up @@ -87,6 +90,9 @@ jobs:
vmImage: 'ubuntu-16.04'

steps:
- checkout: self
fetchDepth: 1

- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
inputs:
Expand Down Expand Up @@ -222,6 +228,9 @@ jobs:
vmImage: $(OSVmImage)

steps:
- checkout: self
fetchDepth: 1

- template: ../steps/verify-agent-os.yml
parameters:
OSName: $(OSName)
Expand Down

0 comments on commit 81b0d20

Please sign in to comment.