From 8b08b1ebee7d62c815869d4f059256d957e24edf Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 24 Oct 2020 18:37:04 -0500 Subject: [PATCH 1/7] 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 1c96c4773dc2843f188bdfaf36c7ae63811532a6 Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 24 Oct 2020 19:37:06 -0500 Subject: [PATCH 2/7] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03897a8..f85364b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,3 +20,8 @@ steps: publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' + +- task: PublishBuildArtifacts@1 +  inputs: +    pathToPublish: '$(Build.ArtifactStagingDirectory)' +    artifactName: drop1 From 2e3726f63fd3a6eadd7d372f3ef89dbb7dcac4e2 Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 24 Oct 2020 19:42:32 -0500 Subject: [PATCH 3/7] Update azure-pipelines.yml --- azure-pipelines.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f85364b..03897a8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,8 +20,3 @@ steps: publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' - -- task: PublishBuildArtifacts@1 -  inputs: -    pathToPublish: '$(Build.ArtifactStagingDirectory)' -    artifactName: drop1 From 5d41ba8971b81fdc8d7e92499865a5cd3cf15bf3 Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 24 Oct 2020 19:53:19 -0500 Subject: [PATCH 4/7] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03897a8..e02c5e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,3 +20,8 @@ steps: publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' + +- task: PublishPipelineArtifact@1 + inputs: + targetPath: $(System.DefaultWorkingDirectory)/bin/WebApp + artifactName: WebApp From 47c8af00a9f83450a09bb1739d11d00abc721dde Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 24 Oct 2020 19:57:55 -0500 Subject: [PATCH 5/7] 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 e02c5e5..b33a612 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,5 +23,5 @@ steps: - task: PublishPipelineArtifact@1 inputs: - targetPath: $(System.DefaultWorkingDirectory)/bin/WebApp + targetPath: $(Build.ArtifactStagingDirectory) artifactName: WebApp From c0e63b59a095b74b0084a330427b3bcf0cf9b50e Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Wed, 28 Oct 2020 12:59:29 -0500 Subject: [PATCH 6/7] 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 b33a612..98491f8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,4 +24,4 @@ steps: - task: PublishPipelineArtifact@1 inputs: targetPath: $(Build.ArtifactStagingDirectory) - artifactName: WebApp + artifactName: WebApp1 From 73b4a036add7f6912ffb319a9464c02bb58ee4c5 Mon Sep 17 00:00:00 2001 From: NickOchei <67394875+NickOchei@users.noreply.github.com> Date: Sat, 31 Oct 2020 18:21:54 -0500 Subject: [PATCH 7/7] 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 98491f8..efa75b0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,4 +24,4 @@ steps: - task: PublishPipelineArtifact@1 inputs: targetPath: $(Build.ArtifactStagingDirectory) - artifactName: WebApp1 + artifactName: WebApp1.0