chage in unit test

This commit is contained in:
shikhar.s 2019-08-30 13:39:47 +05:30
parent e9a5fe278d
commit c7a4876e06

30
Jenkinsfile vendored
View File

@ -184,21 +184,21 @@ pipeline {
}
}
stage('Unit tests') {
steps {
sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH}
pip install pytest
pip install psutil
python -m pytest --verbose --junit-xml results.xml
'''
}
post {
always {
// Archive unit tests for the future
junit allowEmptyResults: true, testResults: 'results.xml'
}
}
}
// stage('Unit tests') {
// steps {
// sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH}
// pip install pytest
// pip install psutil
// python -m pytest --verbose --junit-xml results.xml
// '''
// }
// post {
// always {
// // Archive unit tests for the future
// junit allowEmptyResults: true, testResults: 'results.xml'
// }
// }
// }
// stage('Unit tests') {
// steps {
// sh ''' source activate ${BUILD_TAG}