From ee63cfdffb0f2a5cff7b670a13fb7834b1eb3bc4 Mon Sep 17 00:00:00 2001 From: venkat09 Date: Tue, 24 Sep 2019 16:39:52 +0530 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 0000000..03897a8 --- /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 6a400bb358201b280885caf3a39e518f4995b48b Mon Sep 17 00:00:00 2001 From: venkat09 Date: Tue, 24 Sep 2019 16:52:58 +0530 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03897a8..d000aef 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,3 +20,8 @@ steps: publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' +- task: CopyFiles@2 + inputs: + SourceFolder: 'target' + Contents: '**' + TargetFolder: 'drop' \ No newline at end of file