diff --git a/README.md b/README.md index f88d52f73..87a3d72dc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +[![Build Status](https://dev.azure.com/karnatipraveenchowdary/Karnati/_apis/build/status%2Fpipelines-java-new?branchName=main)](https://dev.azure.com/karnatipraveenchowdary/Karnati/_build/latest?definitionId=7&branchName=main) # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..e93a1db4d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +# Maven +# Build your Java project and run tests with Apache Maven. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/java +# test for checking +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: Maven@4 + inputs: + azureSubscription: 'mymdp' + mavenPomFile: 'pom.xml' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.11' + mavenVersionOption: 'Default' + mavenOptions: '-Xmx3072m' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: false