From 6088f43bd3013c38cbeb34ef5f36fab25101e45c Mon Sep 17 00:00:00 2001 From: Emotion Date: Thu, 24 Nov 2022 21:22:58 +1300 Subject: [PATCH 1/5] 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..7438c74 --- /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.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'package' From c56b7a191d9d89ec42bfb2442e5e28bf75b0bf0d Mon Sep 17 00:00:00 2001 From: Emotion Date: Thu, 24 Nov 2022 22:22:34 +1300 Subject: [PATCH 2/5] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-1.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 0000000..4c4b953 --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,23 @@ +# 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' + publishJUnitResults: false + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + mavenVersionOption: 'Default' + mavenOptions: '-Xmx3072m' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: false From 8caf376ac90819eea0dfc0273765944b98f5e63c Mon Sep 17 00:00:00 2001 From: Emotion Date: Tue, 6 Dec 2022 01:39:39 +1300 Subject: [PATCH 3/5] Delete azure-pipelines-1.yml --- azure-pipelines-1.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml deleted file mode 100644 index 4c4b953..0000000 --- a/azure-pipelines-1.yml +++ /dev/null @@ -1,23 +0,0 @@ -# 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' - publishJUnitResults: false - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - mavenVersionOption: 'Default' - mavenOptions: '-Xmx3072m' - mavenAuthenticateFeed: false - effectivePomSkip: false - sonarQubeRunAnalysis: false From be23230c6d2c68a27f246aeb2b053ccfeb4d6354 Mon Sep 17 00:00:00 2001 From: Emotion Date: Tue, 6 Dec 2022 01:39:49 +1300 Subject: [PATCH 4/5] Delete azure-pipelines.yml --- azure-pipelines.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 7438c74..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,22 +0,0 @@ -# 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.8' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' - goals: 'package' From 43e5378cfc73fd4a6f3af83d484e691bf13d2f88 Mon Sep 17 00:00:00 2001 From: Emotion Date: Tue, 6 Dec 2022 01:41:23 +1300 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63f50b0..2799420 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Badges -[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=EllieBotDevs_Ellie-bot&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=EllieBotDevs_Ellie-bot) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=EllieBotDevs_Ellie-bot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=EllieBotDevs_Ellie-bot) [![Automated Release Notes by gren](https://img.shields.io/badge/%F0%9F%A4%96-release%20notes-00B2EE.svg)](https://github-tools.github.io/github-release-notes/) [![CLA assistant](https://cla-assistant.io/readme/badge/EllieBotDevs/Ellie-bot)](https://cla-assistant.io/EllieBotDevs/Ellie-bot) [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G5F7HPF) +[![Automated Release Notes by gren](https://img.shields.io/badge/%F0%9F%A4%96-release%20notes-00B2EE.svg)](https://github-tools.github.io/github-release-notes/) [![CLA assistant](https://cla-assistant.io/readme/badge/EllieBotDevs/Ellie-bot)](https://cla-assistant.io/EllieBotDevs/Ellie-bot) ## Contribution Guide