From b745de1f3d3614db13fb70a5b8f3aca6af01d9ff Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 09:35:13 +0530 Subject: [PATCH 1/6] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..ff532240 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,26 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +stages: +- stage: Build + displayName: Build Java project + jobs: + - job: A1 + steps: + - task: Maven@4 + inputs: + mavenPomFile: 'pom.xml' + publishJUnitResults: false + javaHomeOption: 'JDKVersion' + mavenVersionOption: 'Default' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: false From 57d3846106ffc400a069684491ace1dc7a7c8ded Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 10:10:38 +0530 Subject: [PATCH 2/6] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ff532240..7cd0a244 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,8 +6,7 @@ trigger: - master -pool: - vmImage: ubuntu-latest +pool: "Azure Pipelines" stages: - stage: Build From 84a4d91caa4c36525ac08d5b26539ee3a983db65 Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 10:11:35 +0530 Subject: [PATCH 3/6] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7cd0a244..2afa6a0d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ trigger: - master -pool: "Azure Pipelines" +pool: Default stages: - stage: Build From d43ea27a1bc45108cb099bddf5e8e207387ffb65 Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 10:21:02 +0530 Subject: [PATCH 4/6] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2afa6a0d..7a734b19 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ trigger: - master -pool: Default +pool: Titaniam stages: - stage: Build From d30bfafae8bd00cc0ccface347621aa03e72a155 Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 11:49:08 +0530 Subject: [PATCH 5/6] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7a734b19..6521fb00 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,7 +12,8 @@ stages: - stage: Build displayName: Build Java project jobs: - - job: A1 + - job: Build + displayName: Build Maven Project steps: - task: Maven@4 inputs: @@ -23,3 +24,16 @@ stages: mavenAuthenticateFeed: false effectivePomSkip: false sonarQubeRunAnalysis: false + # - job: Docker + # displayName: Create Docker Image + # steps: + # - task: Maven@4 + # inputs: + # mavenPomFile: 'pom.xml' + # publishJUnitResults: false + # javaHomeOption: 'JDKVersion' + # mavenVersionOption: 'Default' + # mavenAuthenticateFeed: false + # effectivePomSkip: false + # sonarQubeRunAnalysis: false + From 055ffb670ee789d52c456a08bcb0ea3c69a6bdc1 Mon Sep 17 00:00:00 2001 From: Mukul Kazla Date: Sat, 4 Mar 2023 11:50:48 +0530 Subject: [PATCH 6/6] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6521fb00..376702ce 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,16 +24,3 @@ stages: mavenAuthenticateFeed: false effectivePomSkip: false sonarQubeRunAnalysis: false - # - job: Docker - # displayName: Create Docker Image - # steps: - # - task: Maven@4 - # inputs: - # mavenPomFile: 'pom.xml' - # publishJUnitResults: false - # javaHomeOption: 'JDKVersion' - # mavenVersionOption: 'Default' - # mavenAuthenticateFeed: false - # effectivePomSkip: false - # sonarQubeRunAnalysis: false -