run py2/3 steps on any agents
This commit is contained in:
parent
8739f50522
commit
c8ecf1e4f4
|
@ -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/'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue