Set up CI with Azure Pipelines (#780)
This commit is contained in:
Родитель
f0abd420d8
Коммит
a5d136352b
|
@ -0,0 +1,12 @@
|
|||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||
https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
<servers>
|
||||
<server>
|
||||
<id>nexus-snapshots</id>
|
||||
<username>${NEXUS_USER}</username>
|
||||
<password>${NEXUS_PASSWORD}</password>
|
||||
</server>
|
||||
</servers>
|
||||
</settings>
|
|
@ -0,0 +1,28 @@
|
|||
# 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
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- task: Maven@3
|
||||
displayName: Daily Snapshot Publish
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
options: '-DskipITs -s .maven/settings.xml'
|
||||
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)
|
Загрузка…
Ссылка в новой задаче