Skip to content

Commit

Permalink
Run performance test for master and performance branches only. (#2869)
Browse files Browse the repository at this point in the history
  • Loading branch information
troydai authored Apr 17, 2017
1 parent 3f4409b commit 923dfa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pipeline {
}
stage ('Performance-Test') {
agent { label 'perf-ubuntu-a0' }
when { expression { return env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('performance') } }
steps {
sh 'pip install -U virtualenv'
sh 'python -m virtualenv --clear env'
Expand Down

0 comments on commit 923dfa6

Please sign in to comment.