change in jenkins file

This commit is contained in:
shikhar.s 2019-07-05 16:02:05 +05:30
parent 906bd0ff10
commit 31e40e7a9a
1 changed files with 7 additions and 7 deletions

14
Jenkinsfile vendored
View File

@ -30,7 +30,7 @@ pipeline {
stage ('Install_Requirements') { stage ('Install_Requirements') {
steps { steps {
sh """ sh """
echo ${SHELL} echo ${SHELL}
[ -d venv ] && rm -rf venv [ -d venv ] && rm -rf venv
#virtualenv --python=python2.7 venv #virtualenv --python=python2.7 venv
virtualenv venv virtualenv venv
@ -45,12 +45,12 @@ pipeline {
stage ('Check_style') { stage ('Check_style') {
steps { steps {
sh """ // sh """
#. venv/bin/activate // #. venv/bin/activate
[ -d report ] || mkdir report // [ -d report ] || mkdir report
export PATH=${VIRTUAL_ENV}/bin:${PATH} // export PATH=${VIRTUAL_ENV}/bin:${PATH}
make check || true // make check || true
""" // """
sh """ sh """
export PATH=${VIRTUAL_ENV}/bin:${PATH} export PATH=${VIRTUAL_ENV}/bin:${PATH}
make flake8 | tee report/flake8.log || true make flake8 | tee report/flake8.log || true