From 644d377a6a68fd524fcd0cd156934d94cbc6d434 Mon Sep 17 00:00:00 2001 From: julyvee Date: Fri, 27 Sep 2019 11:30:18 +0200 Subject: [PATCH 1/3] Initial pipeline setup [skip ci] --- azure-pipelines.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..6e112aa6 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,16 @@ +trigger: +- master + +pool: + vmImage: 'Ubuntu-16.04' + +variables: + imageName: 'pipelines-javascript-docker' + +steps: +- task: Docker@2 + displayName: Build an image + inputs: + repository: $(imageName) + command: build + Dockerfile: complete/Dockerfile From 193c3dce41e44c762e713b58f2126b6955eedc00 Mon Sep 17 00:00:00 2001 From: julyvee Date: Fri, 27 Sep 2019 11:34:49 +0200 Subject: [PATCH 2/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6e112aa6..3bdd6320 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,6 +8,16 @@ variables: imageName: 'pipelines-javascript-docker' steps: +- task: Maven@3 + inputs: + mavenPomFile: 'pom.xml' + mavenOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: false + testResultsFiles: '**/TEST-*.xml' + goals: 'package' - task: Docker@2 displayName: Build an image inputs: From f9c817fde51667f1b01db97f44566aa52ea8519f Mon Sep 17 00:00:00 2001 From: julyvee Date: Fri, 27 Sep 2019 11:35:30 +0200 Subject: [PATCH 3/3] 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 3bdd6320..0056529b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ variables: steps: - task: Maven@3 inputs: - mavenPomFile: 'pom.xml' + mavenPomFile: 'complete/pom.xml' mavenOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.8'