addintion of json file

This commit is contained in:
shikhar.s 2019-08-28 22:13:21 +05:30
parent a605c58c30
commit f72adf1474
3 changed files with 22 additions and 0 deletions

21
Jenkinsfile vendored
View File

@ -184,6 +184,27 @@ pipeline {
} }
} }
stage ('Unit Tests') {
steps {
sh """
#. venv/bin/activate
export PATH=${VIRTUAL_ENV}/bin:${PATH}
make unittest || true
"""
}
post {
always {
junit keepLongStdio: true, testResults: 'nosetests.xml'
publishHTML target: [
reportDir: 'PyBitmessage',
reportFiles: 'index.html',
reportName: 'Coverage Report - Unit Test'
]
}
}
}
// stage('Unit tests') { // stage('Unit tests') {
// steps { // steps {
// sh ''' source activate ${BUILD_TAG} // sh ''' source activate ${BUILD_TAG}

1
index.html Normal file
View File

@ -0,0 +1 @@
index.html

0
nosetests.xml Normal file
View File