-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathazure-steps.yml
39 lines (34 loc) · 1.03 KB
/
azure-steps.yml
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
32
33
34
35
36
37
38
39
parameters:
env: {}
args: ''
has_tests: true
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'clean build doxygen javadoc publish'
options: ${{ parameters.args }} -PwithBench --scan --stacktrace
env: ${{ parameters.env }}
- task: CopyFiles@2
inputs:
sourceFolder: 'Pathfinder/build'
contents: '**/*'
targetFolder: $(Build.ArtifactStagingDirectory)/build/pf
- ${{ if eq(parameters.has_tests, 'true') }}:
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'test-results/$(PlatformName)'
pathtoPublish: $(Build.ArtifactStagingDirectory)/build/pf/test-results
- task: CopyFiles@2
inputs:
sourceFolder: 'build/mvnDistRepo'
contents: '**/*'
targetFolder: $(Build.ArtifactStagingDirectory)/mvnDistRepo
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'maven'
pathtoPublish: $(Build.ArtifactStagingDirectory)/mvnDistRepo