diff --git a/eng/pipelines/code-quality-reports.yml b/eng/pipelines/code-quality-reports.yml index dca394e53f49e..b6c5d5281760f 100644 --- a/eng/pipelines/code-quality-reports.yml +++ b/eng/pipelines/code-quality-reports.yml @@ -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: @@ -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: @@ -122,4 +122,6 @@ jobs: exit 1 } displayName: 'Fail Pipeline if Linting Reports Exist' - condition: and(succeeded(), ne(variables['LintingGoals'], '')) \ No newline at end of file + condition: and(succeeded(), ne(variables['LintingGoals'], '')) + + - template: /eng/pipelines/templates/steps/upload-repository-on-failure.yml