chage in unit test
This commit is contained in:
parent
32fdc5c2b3
commit
28b9a6c241
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -184,25 +184,16 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ('Unit Tests') {
|
stage('Unit tests') {
|
||||||
steps {
|
steps {
|
||||||
sh """
|
sh ''' source activate ${BUILD_TAG}
|
||||||
#. venv/bin/activate
|
python -m pytest --verbose --junit-xml results.xml
|
||||||
export PATH=${VIRTUAL_ENV}/bin:${PATH}
|
'''
|
||||||
cd PyBitmessage
|
|
||||||
touch *.xml
|
|
||||||
make unittest || true
|
|
||||||
"""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
junit keepLongStdio: true, testResults: 'nosetests.xml'
|
// Archive unit tests for the future
|
||||||
publishHTML target: [
|
junit allowEmptyResults: true, testResults: 'results.xml', fingerprint: true
|
||||||
reportDir: 'PyBitmessage',
|
|
||||||
reportFiles: 'index.html',
|
|
||||||
reportName: 'Coverage Report - Unit Test'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user