This commit is contained in:
Emmanuel Cazenave 2018-04-25 17:37:50 +02:00
parent 3af939c056
commit d41c60a8b3
2 changed files with 6 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -20,12 +20,14 @@ pipeline {
}
post {
always {
junit 'test_results.xml'
junit 'test_django18_results.xml'
junit 'test_django111_results.xml'
script {
utils = new Utils()
utils.publish_cobertura_report('**/coverage.xml')
utils.mail_notify(currentBuild, env, 'admin+jenkins-combo@entrouvert.com')
}
cleanWs()
}
}
}

View File

@ -1,11 +1,11 @@
#!/bin/sh -xue
virtualenv --python=python2.7 jenkins_venv
. jenkins_venv/bin/activate
# virtualenv --python=python2.7 jenkins_venv
# . jenkins_venv/bin/activate
test -d wcs || git clone http://git.entrouvert.org/wcs.git
(cd wcs && git pull)
pip install --upgrade tox
# pip install --upgrade tox
tox -rv