From 96b268037873b03af542aff3fe175c4d636bcf64 Mon Sep 17 00:00:00 2001 From: "shikhar.s" Date: Wed, 28 Aug 2019 20:55:28 +0530 Subject: [PATCH] changes in pylint --- Jenkinsfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 99156592..b3295439 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -148,10 +148,17 @@ pipeline { python -m coverage xml -o PyBitmessage/coverage.xml ''' - // echo "Style check" - // sh ''' source activate ${BUILD_TAG} - // pylint PyBitmessage || true - // ''' + echo "Style check" + sh ''' echo ${SHELL} + [ -d venv ] && rm -rf venv + #virtualenv --python=python2.7 venv + virtualenv venv + #. venv/bin/activate + export PATH=${VIRTUAL_ENV}/bin:${PATH} + python setup.py install + pip install pylint + pylint PyBitmessage || true + ''' } post{ always{