From 0437cacdecd266b778f8db4a8c77150b070b1632 Mon Sep 17 00:00:00 2001 From: Emmanuel Ezeali Date: Tue, 6 Feb 2024 19:32:43 -0500 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..7438c7453 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# 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 + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: Maven@3 + inputs: + mavenPomFile: 'pom.xml' + mavenOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'package' From 03dda1fe396228b0337c73d7dc57540ade7b6ebb Mon Sep 17 00:00:00 2001 From: Emmanuel Ezeali Date: Tue, 6 Feb 2024 19:58:06 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f88d52f73..29dbde660 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://dev.azure.com/eezeali/AzurePipelineDemo/_apis/build/status%2Fmexez.pipelines-java?branchName=main)](https://dev.azure.com/eezeali/AzurePipelineDemo/_build/latest?definitionId=2&branchName=main) # Contributing