-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines-taurus.yml
44 lines (35 loc) · 1.05 KB
/
azure-pipelines-taurus.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
42
43
44
# 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 using Taurus
displayName: 'Show what we are doing'
- script: |
sudo apt-get update
sudo apt-get install python default-jre-headless python-tk python-pip python-dev libxml2-dev libxslt-dev zlib1g-dev net-tools
sudo pip install --upgrade setuptools
sudo pip install --upgrade pip
sudo pip install --upgrade urllib3
sudo pip install bzt
displayName: 'Install Taurus'
- script: |
uname -a
python -V
bzt -h
displayName: 'Check Versions'
- script: |
bzt taurus/taurus-demo.yml
displayName: 'Run Taurus'
- task: CopyFiles@2
inputs:
contents: 'taurus-artifacts/**'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
artifactName: taurusArtifacts