From 77b33989f7e27419e1a58b14ac90a71e04727e78 Mon Sep 17 00:00:00 2001 From: lileihappy123 <448117472@qq.com> Date: Mon, 19 Feb 2024 20:25:32 +0800 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 0000000..34edff5 --- /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 d07e15031f63f1fef47de5b0efc80c620e475ac5 Mon Sep 17 00:00:00 2001 From: lileihappy123 <448117472@qq.com> Date: Mon, 19 Feb 2024 20:28:00 +0800 Subject: [PATCH 2/3] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 34edff5..b6e24f3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,6 +17,6 @@ steps: javaHomeOption: 'JDKVersion' jdkVersionOption: '1.8' jdkArchitectureOption: 'x64' - publishJUnitResults: true + publishJUnitResults: false testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' From dfe75ae0ace8057fbd41716ba106687b345f2d8e Mon Sep 17 00:00:00 2001 From: lileihappy123 <448117472@qq.com> Date: Mon, 19 Feb 2024 20:28:35 +0800 Subject: [PATCH 3/3] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b6e24f3..8a40bad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,7 @@ trigger: - master +- azure-pipelines pool: vmImage: ubuntu-latest