ci/cd: fix build pipeline collision (again) (#13476)

This commit is contained in:
Diego Heras 2022-08-15 21:53:05 +02:00 committed by GitHub
parent 1dc6379467
commit 8e8defd5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 10 deletions

View File

@ -26,7 +26,7 @@ stages:
jobs: jobs:
- job: Build - job: Build
workspace: workspace:
clean: all clean: outputs
strategy: strategy:
matrix: matrix:
Windows: Windows:
@ -104,7 +104,7 @@ stages:
displayName: ${{ variables.buildDescription }} displayName: ${{ variables.buildDescription }}
steps: steps:
- checkout: self - checkout: self
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime) clean: false
- task: UseDotNet@2 - task: UseDotNet@2
displayName: Install .NET Core SDK displayName: Install .NET Core SDK
@ -305,9 +305,10 @@ stages:
pool: pool:
vmImage: ubuntu-20.04 vmImage: ubuntu-20.04
workspace: workspace:
clean: all clean: outputs
steps: steps:
- checkout: self - checkout: self
clean: false
- task: UseDotNet@2 - task: UseDotNet@2
displayName: Install .NET Core SDK displayName: Install .NET Core SDK
@ -338,9 +339,10 @@ stages:
pool: pool:
vmImage: ubuntu-20.04 vmImage: ubuntu-20.04
workspace: workspace:
clean: all clean: outputs
steps: steps:
- checkout: self - checkout: self
clean: false
- task: UsePythonVersion@0 - task: UsePythonVersion@0
displayName: Install Python displayName: Install Python
@ -358,9 +360,10 @@ stages:
pool: pool:
vmImage: ubuntu-20.04 vmImage: ubuntu-20.04
workspace: workspace:
clean: all clean: outputs
steps: steps:
- checkout: self - checkout: self
clean: false
- task: Bash@3 - task: Bash@3
displayName: Validate YAML Schema displayName: Validate YAML Schema
@ -391,7 +394,7 @@ stages:
jobs: jobs:
- job: UnitTest - job: UnitTest
workspace: workspace:
clean: all clean: outputs
strategy: strategy:
matrix: matrix:
Windows: Windows:
@ -419,7 +422,7 @@ stages:
displayName: ${{ variables.buildDescription }} displayName: ${{ variables.buildDescription }}
steps: steps:
- checkout: self - checkout: self
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime) clean: false
- task: UseDotNet@2 - task: UseDotNet@2
displayName: Install .NET Core SDK displayName: Install .NET Core SDK
@ -485,7 +488,7 @@ stages:
jobs: jobs:
- job: IntegrationTest - job: IntegrationTest
workspace: workspace:
clean: all clean: outputs
strategy: strategy:
matrix: matrix:
Windows: Windows:
@ -517,7 +520,7 @@ stages:
displayName: ${{ variables.buildDescription }} displayName: ${{ variables.buildDescription }}
steps: steps:
- checkout: self - checkout: self
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime) clean: false
- task: DownloadBuildArtifacts@0 - task: DownloadBuildArtifacts@0
displayName: Download artifacts for integration tests displayName: Download artifacts for integration tests
@ -590,11 +593,12 @@ stages:
jobs: jobs:
- job: Publish - job: Publish
workspace: workspace:
clean: all clean: outputs
pool: pool:
vmImage: ubuntu-20.04 vmImage: ubuntu-20.04
steps: steps:
- checkout: self - checkout: self
clean: false
- task: DownloadBuildArtifacts@0 - task: DownloadBuildArtifacts@0
displayName: Download Artifacts for Publish displayName: Download Artifacts for Publish