forked from microsoft/azure-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines-snapshot.yml
More file actions
31 lines (26 loc) · 910 Bytes
/
azure-pipelines-snapshot.yml
File metadata and controls
31 lines (26 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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: none
pr: none
variables:
- group: nexus-snapshot-repository
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Maven@3
displayName: Daily Snapshot Publish
inputs:
mavenPomFile: 'pom.xml'
options: '-DskipITs -s .maven/settings.xml -DaltDeploymentRepository=nexus-snapshots::default::https://oss.sonatype.org/content/repositories/snapshots/ -pl !azure-spring-boot-samples,!azure-spring-boot-tests'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'clean deploy'
env:
NEXUS_USER: $(nexus_user)
NEXUS_PASSWORD: $(nexus_password)