From 5bbfd0a19b81571ef53d9862b0472e5827c2a4c8 Mon Sep 17 00:00:00 2001 From: Jacob Hoffmann Date: Thu, 27 Feb 2020 01:53:21 -0500 Subject: [PATCH 1/3] 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..03897a827 --- /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: +- master + +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 930a7e953d4a9db913635108b198f4cdb8c99b8e Mon Sep 17 00:00:00 2001 From: Jacob Hoffmann Date: Thu, 27 Feb 2020 02:05:49 -0500 Subject: [PATCH 2/3] Update README.md Added status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f88d52f73..0393e32a3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +[![Build Status](https://dev.azure.com/hoffjp12/first_project/_apis/build/status/hoffjp.pipelines-java?branchName=master)](https://dev.azure.com/hoffjp12/first_project/_build/latest?definitionId=1&branchName=master) # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a From a2de94f0ae13640e4e3732980aa075b44af173c1 Mon Sep 17 00:00:00 2001 From: Jacob Hoffmann Date: Thu, 27 Feb 2020 02:20:50 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0393e32a3..e1bb8ba00 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ + + [![Build Status](https://dev.azure.com/hoffjp12/first_project/_apis/build/status/hoffjp.pipelines-java?branchName=master)](https://dev.azure.com/hoffjp12/first_project/_build/latest?definitionId=1&branchName=master) + # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a