run py2/3 steps on any agents

This commit is contained in:
Frédéric Péters 2018-04-25 21:14:29 +02:00
parent 8739f50522
commit c8ecf1e4f4
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -6,11 +6,13 @@ pipeline {
stage('Unit tests'){
parallel {
stage('Python 2') {
agent any
steps {
sh 'tox -r -e py2-django111 -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
}
}
stage('Python 3') {
agent any
steps {
sh 'tox -r -e py3-django111 -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
}