Add checkout step to release build templates (#13840)

This commit is contained in:
Travis Plunk 2020-10-23 11:42:24 -07:00 committed by GitHub
parent ebff40244a
commit 55c2858051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 41 additions and 14 deletions

View File

@ -32,7 +32,6 @@ jobs:
- checkout: self
clean: true
persistCredentials: true
- task: PkgESSetupBuild@10
displayName: 'Initialize build'

View File

@ -14,11 +14,6 @@ variables:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
# Set AzDevOps Agent to clean the machine after the end of the build
resources:
- repo: self
clean: true
stages:
- stage: prep
jobs:

View File

@ -6,6 +6,8 @@ jobs:
pool:
vmImage: windows-latest
steps:
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)

View File

@ -15,6 +15,9 @@ jobs:
timeoutInMinutes: 180
steps:
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)

View File

@ -17,6 +17,9 @@ jobs:
# inputs:
# <task specific inputs>
# displayName: '<display name of task>'
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)

View File

@ -13,6 +13,8 @@ jobs:
build: ${{ parameters.buildName }}
runCodesignValidationInjection: false
steps:
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:

View File

@ -13,6 +13,8 @@ jobs:
BuildPlatform: any cpu
steps:
- checkout: self
clean: true
- template: shouldSign.yml

View File

@ -13,6 +13,9 @@ jobs:
HOMEBREW_NO_ANALYTICS: 1
runCodesignValidationInjection: false
steps:
- checkout: self
clean: true
- pwsh: |
# create folder
sudo mkdir /PowerShell

View File

@ -13,6 +13,8 @@ jobs:
BuildPlatform: any cpu
steps:
- checkout: self
clean: true
- template: shouldSign.yml

View File

@ -15,6 +15,8 @@ jobs:
# inputs:
# <task specific inputs>
# displayName: '<display name of task>'
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)

View File

@ -20,6 +20,8 @@ jobs:
linuxFxdPath: '$(System.ArtifactsDirectory)/linuxFxd'
steps:
- checkout: self
clean: true
- powershell: |
$content = Get-Content "$(Build.SourcesDirectory)/global.json" -Raw | ConvertFrom-Json

View File

@ -12,6 +12,9 @@ jobs:
pool:
vmImage: ${{ parameters.imageName }}
steps:
- checkout: self
clean: true
- download: releasePipeline
artifact: finalResults
patterns: '**/*.nupkg'

View File

@ -9,6 +9,9 @@ jobs:
pool:
vmImage: ${{ parameters.imageName }}
steps:
- checkout: self
clean: true
- download: releasePipeline
artifact: finalResults
patterns: '**/*.nupkg'

View File

@ -6,6 +6,9 @@ jobs:
variables:
- group: 'Azure Blob variable group'
steps:
- checkout: self
clean: true
- download: releasePipeline
artifact: finalResults
patterns: '**/PowerShell*-win-x64.zip'

View File

@ -6,6 +6,9 @@ jobs:
condition: succeeded()
pool: 'Hosted Ubuntu 1604'
steps:
- checkout: self
clean: true
- pwsh: |
Import-Module ./build.psm1

View File

@ -7,6 +7,8 @@ jobs:
condition: succeeded()
pool: Package ES Standard Build
steps:
- checkout: self
clean: true
- template: ./SetVersionVariables.yml
parameters:

View File

@ -18,7 +18,6 @@ jobs:
- checkout: self
clean: true
persistCredentials: true
- template: shouldSign.yml
- template: SetVersionVariables.yml

View File

@ -10,6 +10,8 @@ jobs:
name: Package ES Standard Build
steps:
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:

View File

@ -21,7 +21,6 @@ jobs:
- checkout: self
clean: true
persistCredentials: true
- template: SetVersionVariables.yml
parameters:

View File

@ -14,6 +14,8 @@ jobs:
BuildPlatform: any cpu
steps:
- checkout: self
clean: true
- template: shouldSign.yml
- template: SetVersionVariables.yml

View File

@ -21,7 +21,6 @@ jobs:
- checkout: self
clean: true
persistCredentials: true
- template: shouldSign.yml
- template: SetVersionVariables.yml

View File

@ -17,11 +17,6 @@ variables:
value: 1
- group: Azure Blob variable group
# Set AzDevOps Agent to clean the machine after the end of the build
resources:
- repo: self
clean: true
jobs:
- job: rename
displayName: Name the build
@ -29,6 +24,8 @@ jobs:
pool:
vmImage: 'windows-latest'
steps:
- checkout: self
clean: true
- template: ./templates/SetVersionVariables.yml
parameters: