Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion tools/releaseBuild/azureDevOps/WindowsBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:

- checkout: self
clean: true
persistCredentials: true

- task: PkgESSetupBuild@10
displayName: 'Initialize build'
Expand Down
5 changes: 0 additions & 5 deletions tools/releaseBuild/azureDevOps/releaseBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
pool:
vmImage: windows-latest
steps:
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)
Expand Down
3 changes: 3 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
timeoutInMinutes: 180

steps:
- checkout: self
clean: true

- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)
Expand Down
3 changes: 3 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
# inputs:
# <task specific inputs>
# displayName: '<display name of task>'
- checkout: self
clean: true

- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)
Expand Down
2 changes: 2 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
build: ${{ parameters.buildName }}
runCodesignValidationInjection: false
steps:
- checkout: self
clean: true

- template: SetVersionVariables.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
BuildPlatform: any cpu

steps:
- checkout: self
clean: true

- template: shouldSign.yml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
HOMEBREW_NO_ANALYTICS: 1
runCodesignValidationInjection: false
steps:
- checkout: self
clean: true

- pwsh: |
# create folder
sudo mkdir /PowerShell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
BuildPlatform: any cpu

steps:
- checkout: self
clean: true

- template: shouldSign.yml

Expand Down
2 changes: 2 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
# inputs:
# <task specific inputs>
# displayName: '<display name of task>'
- checkout: self
clean: true
- template: SetVersionVariables.yml
parameters:
ReleaseTagVar: $(ReleaseTagVar)
Expand Down
2 changes: 2 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
pool:
vmImage: ${{ parameters.imageName }}
steps:
- checkout: self
clean: true

- download: releasePipeline
artifact: finalResults
patterns: '**/*.nupkg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
pool:
vmImage: ${{ parameters.imageName }}
steps:
- checkout: self
clean: true

- download: releasePipeline
artifact: finalResults
patterns: '**/*.nupkg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions tools/releaseBuild/azureDevOps/templates/testartifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
condition: succeeded()
pool: 'Hosted Ubuntu 1604'
steps:
- checkout: self
clean: true


- pwsh: |
Import-Module ./build.psm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
condition: succeeded()
pool: Package ES Standard Build
steps:
- checkout: self
clean: true

- template: ./SetVersionVariables.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:

- checkout: self
clean: true
persistCredentials: true

- template: shouldSign.yml
- template: SetVersionVariables.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
name: Package ES Standard Build

steps:
- checkout: self
clean: true

- template: SetVersionVariables.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:

- checkout: self
clean: true
persistCredentials: true

- template: SetVersionVariables.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
BuildPlatform: any cpu

steps:
- checkout: self
clean: true

- template: shouldSign.yml
- template: SetVersionVariables.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:

- checkout: self
clean: true
persistCredentials: true

- template: shouldSign.yml
- template: SetVersionVariables.yml
Expand Down
7 changes: 2 additions & 5 deletions tools/releaseBuild/azureDevOps/vpackRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ 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
condition: succeeded()
pool:
vmImage: 'windows-latest'
steps:
- checkout: self
clean: true

- template: ./templates/SetVersionVariables.yml
parameters:
Expand Down