From 536ad563f40429527a491cc383b8472bd7600c71 Mon Sep 17 00:00:00 2001 From: kishankshrestha Date: Sat, 22 Feb 2025 21:49:02 +1000 Subject: [PATCH 1/4] Set up CI with Azure Pipelines This repo was connected via Github repository [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..e8f3d6f54 --- /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.11' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'package' From 28cc9e0a0c8078628e5c2a5a29456bd25a60e33b Mon Sep 17 00:00:00 2001 From: kishankshrestha Date: Sat, 22 Feb 2025 22:08:24 +1000 Subject: [PATCH 2/4] Update azure-pipelines.yml changed to windows pool instead of ubuntu --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8f3d6f54..f4972ea0b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ trigger: - main pool: - vmImage: ubuntu-latest + vmImage: windows-latest steps: - task: Maven@3 From 3259554a11a8c6532ef43c615656c1444d7da4c7 Mon Sep 17 00:00:00 2001 From: kishankshrestha Date: Sat, 22 Feb 2025 22:12:12 +1000 Subject: [PATCH 3/4] Update azure-pipelines.yml Added some comment --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f4972ea0b..d554070b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,6 +3,8 @@ # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/java +#Steps to select a Branch(mandatory) +#This yaml is for enabling an automatic trigger of the pipeline when a merge request is accepted and merged to the main branch trigger: - main From 298bfd99db4d22e805ce8cc5ac8715de9388147a Mon Sep 17 00:00:00 2001 From: kishankshrestha Date: Sat, 22 Feb 2025 22:14:26 +1000 Subject: [PATCH 4/4] Update README.md Created new branch and updated readme on the new branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f88d52f73..079382c0a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +This is a branch from the main # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a