change in manifest

This commit is contained in:
shikhar.s 2019-07-05 16:25:37 +05:30
parent 31e40e7a9a
commit b372c64a51

48
Jenkinsfile vendored
View File

@ -43,36 +43,36 @@ pipeline {
}
}
stage ('Check_style') {
steps {
// stage ('Check_style') {
// steps {
// sh """
// #. venv/bin/activate
// [ -d report ] || mkdir report
// export PATH=${VIRTUAL_ENV}/bin:${PATH}
// make check || true
// """
sh """
export PATH=${VIRTUAL_ENV}/bin:${PATH}
make flake8 | tee report/flake8.log || true
"""
sh """
export PATH=${VIRTUAL_ENV}/bin:${PATH}
make pylint | tee report/pylint.log || true
"""
step([$class: 'WarningsPublisher',
parserConfigurations: [[
parserName: 'Pep8',
pattern: 'report/flake8.log'
],
[
parserName: 'pylint',
pattern: 'report/pylint.log'
]],
unstableTotalAll: '0',
usePreviousBuildAsReference: true
])
}
}
// sh """
// export PATH=${VIRTUAL_ENV}/bin:${PATH}
// make flake8 | tee report/flake8.log || true
// """
// sh """
// export PATH=${VIRTUAL_ENV}/bin:${PATH}
// make pylint | tee report/pylint.log || true
// """
// step([$class: 'WarningsPublisher',
// parserConfigurations: [[
// parserName: 'Pep8',
// pattern: 'report/flake8.log'
// ],
// [
// parserName: 'pylint',
// pattern: 'report/pylint.log'
// ]],
// unstableTotalAll: '0',
// usePreviousBuildAsReference: true
// ])
// }
// }
stage ('Unit Tests') {
steps {