From 88b5c6bcd21d93368d3f635bf8288412e1fb8cca Mon Sep 17 00:00:00 2001 From: MaruthiShankarG <160142741+MaruthiShankarG@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:10:04 +0530 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 98344a49a..4de2a4c34 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,14 +1,4 @@ # Starter pipeline -- task: GitHubRelease@1 - inputs: - gitHubConnection: 'github.com_MaruthiShankarG' - repositoryName: 'MaruthiShankarG/spring-petclinic' - action: 'create' - target: '$(Build.SourceVersion)' - tagSource: 'gitTag' - title: 'Sample' - changeLogCompareToRelease: 'lastFullRelease' - changeLogType: 'commitBased' # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml @@ -27,3 +17,13 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' +- task: Maven@4 + inputs: + mavenPomFile: 'pom.xml' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'JDKVersion' + mavenVersionOption: 'Default' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: false