-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines.yml
41 lines (35 loc) · 1.23 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
35
36
37
38
39
40
41
# 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:
- master
pool:
vmImage: 'Ubuntu-16.04'
steps:
- script: echo Running JMeter with JMeter-Maven-Plugin
displayName: 'Show what we are doing'
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean verify' # Optional
options: # Optional
publishJUnitResults: false
#testResultsFiles: '**/surefire-reports/TEST-*.xml' # Required when publishJUnitResults == True
testRunTitle: Demo
codeCoverageToolOption: 'None' # Optional. Options: none, cobertura, jaCoCo
javaHomeOption: 'JDKVersion' # Options: jDKVersion, path
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64' # Optional. Options: x86, x64
mavenVersionOption: 'Default' # Options: default, path
mavenOptions: '-Xmx1g' # Optional
mavenAuthenticateFeed: false
sonarQubeRunAnalysis: false
- task: CopyFiles@2
inputs:
contents: 'target/jmeter/reports/mvn-demo/**'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
artifactName: reportHtml