forked from jlavallee/JMeter-Rabbit-AMQP
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
34 lines (32 loc) · 1.1 KB
/
azure-pipelines.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
# Ant
# Build your Java projects and run tests with Apache Ant.
# Add steps that save build artifacts and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Ant@1
inputs:
workingDirectory: ''
buildFile: 'build.xml'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.10'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
- task: CopyFiles@2
inputs:
sourceFolder: $(Build.SourcesDirectory)/target/dist/
contents: '**'
targetFolder: $(Build.ArtifactStagingDirectory)
cleanTargetFolder: true # Optional
overWrite: true # Optional
#flattenFolders: false # Optional
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: 'jmrmqjar'
publishLocation: 'Container' # Options: container, filePath
# #targetPath: # Required when publishLocation == FilePath
# #parallel: false # Optional
# #parallelCount: # Optional