|
|
@@ -71,6 +71,9 @@ parameters:
|
|
|
timeoutInMinutes: 180
|
|
|
testRunTitle: $(AgentOsName)-$(BuildConfiguration)
|
|
|
useHostedUbuntu: true
|
|
|
+ # Checkout optimization parameters
|
|
|
+ fetchDepth: 1
|
|
|
+ fetchTags: false
|
|
|
|
|
|
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
|
|
|
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
|
|
|
@@ -159,6 +162,9 @@ jobs:
|
|
|
- name: ${{ pair.key }}
|
|
|
value: ${{ pair.value }}
|
|
|
steps:
|
|
|
+ - checkout: self
|
|
|
+ fetchDepth: ${{ parameters.fetchDepth }}
|
|
|
+ fetchTags: ${{ parameters.fetchTags }}
|
|
|
- ${{ if ne(parameters.agentOs, 'Windows') }}:
|
|
|
- script: df -h
|
|
|
displayName: Disk size
|
|
|
@@ -385,6 +391,9 @@ jobs:
|
|
|
- name: ${{ pair.key }}
|
|
|
value: ${{ pair.value }}
|
|
|
steps:
|
|
|
+ - checkout: self
|
|
|
+ fetchDepth: ${{ parameters.fetchDepth }}
|
|
|
+ fetchTags: ${{ parameters.fetchTags }}
|
|
|
- ${{ if ne(parameters.agentOs, 'Windows') }}:
|
|
|
- script: df -h
|
|
|
displayName: Disk size
|