Skip to content

Commit

Permalink
Clean Maven Local Cache Before Caching Pipeline in code-quality-repor…
Browse files Browse the repository at this point in the history
…ts (#29266)

Clean Maven Local Cache Before Caching Pipeline in code-quality-reports
  • Loading branch information
alzimmermsft authored Jun 7, 2022
1 parent a50a808 commit 9d4a450
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eng/pipelines/code-quality-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
- '!sdk/**/test-recordings'
- '!sdk/**/session-records'

- template: /eng/pipelines/templates/steps/install-reporting-tools.yml

- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
inputs:
Expand Down Expand Up @@ -73,6 +71,8 @@ jobs:
pwsh: true
displayName: 'Generate Linting Commands'

- template: /eng/pipelines/templates/steps/install-reporting-tools.yml

- task: Maven@3
displayName: 'Build Projects'
inputs:
Expand Down Expand Up @@ -122,4 +122,6 @@ jobs:
exit 1
}
displayName: 'Fail Pipeline if Linting Reports Exist'
condition: and(succeeded(), ne(variables['LintingGoals'], ''))
condition: and(succeeded(), ne(variables['LintingGoals'], ''))
- template: /eng/pipelines/templates/steps/upload-repository-on-failure.yml

0 comments on commit 9d4a450

Please sign in to comment.