chage in unit test add dependency

This commit is contained in:
shikhar.s 2019-08-30 19:02:29 +05:30
parent c7a4876e06
commit 7a66fa2279

31
Jenkinsfile vendored
View File

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