Skip to content
Snippets Groups Projects
Commit d46aa4e1 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

Update development-pipeline.yml

parent 11321f62
No related branches found
No related tags found
1 merge request!51Azure: Adding development pipeline yaml
Pipeline #19047 failed
......@@ -16,7 +16,7 @@ trigger:
batch: true
branches:
include:
- master
- haaggarw/adding-dev-pipeline
paths:
exclude:
- /**/*.md
......@@ -47,6 +47,8 @@ variables:
value: "devops/azure/chart/helm-config.yaml"
- name: 'MANIFEST_REPO'
value: $[ resources.repositories['FluxRepo'].name ]
- name: 'MAVEN_CACHE_FOLDER'
value: $(Pipeline.Workspace)/.m2/repository
- name: SKIP_TESTS
value: 'false'
......@@ -55,8 +57,8 @@ stages:
parameters:
mavenGoal: 'package'
mavenPublishJUnitResults: true
serviceCoreMavenOptions: '-P register-core'
mavenOptions: '-P register-azure'
serviceCoreMavenOptions: '-P register-core --settings .mvn/community-maven.settings.xml'
mavenOptions: '-P register-azure --settings .mvn/community-maven.settings.xml -Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
copyFileContents: |
pom.xml
provider/register-azure/maven/settings.xml
......@@ -64,7 +66,7 @@ stages:
provider/register-azure/target/*-spring-boot.jar
.mvn/community-maven.settings.xml
copyFileContentsToFlatten: ''
mavenSettingsFile: './maven/settings.xml'
mavenSettingsFile: '.mvn/community-maven.settings.xml'
serviceBase: ${{ variables.serviceName }}
testingRootFolder: 'testing'
chartPath: ${{ variables.chartPath }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment