From 1b9bbdf7a49fa02faf5c9745d67a36b4beb6684c Mon Sep 17 00:00:00 2001 From: James Flynn Date: Mon, 1 Mar 2021 20:48:02 +0000 Subject: [PATCH] Removed: sonarcloud analyse, enables with Maven task instead --- azure-pipelines.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 28f6f8a17..cb4021ed7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,18 +29,18 @@ jobs: displayName: 'Maven Build, Test and Package' inputs: mavenPomFile: 'pom.xml' - mavenOptions: '-Xmx3072m' + publishJUnitResults: true + testResultsFiles: '**/TEST-*.xml' + testRunTitle: '$(Build.BuildNumber)' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testRunTitle: '$(Build.BuildNumber)' - testResultsFiles: '**/TEST-*.xml' - goals: 'package' + mavenVersionOption: 'Default' + mavenOptions: '-Xmx3072m' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: true + sqMavenPluginVersionChoice: 'latest' - - task: SonarCloudAnalyze@1 - displayName: 'Run SonarCloud Code Analysis' - - task: SonarCloudPublish@1 displayName: 'Publish Quality Gate Result on SonarCloud' inputs: