From 7ef2acc2d007bda10d049b1d43b6d1f1e8f8c17b Mon Sep 17 00:00:00 2001 From: cis-kuldeep Date: Wed, 3 Jul 2019 19:30:16 +0530 Subject: [PATCH] chnages in jenkins --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 742d3051..b42de37e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,16 +9,14 @@ pipeline { stages { stage('Build environment') { steps { - sh '''export WORKSPACE=`pwd` - source /home/cis/Desktop/ENV/pybitenv/bin/activate + sh '''source /home/cis/Desktop/ENV/pybitenv/bin/activate pip install -r /home/cis/Desktop/Python/PyBitmessage/requirements.txt ''' } } stage('Test environment') { steps { - sh '''export WORKSPACE=`pwd` - source /home/cis/Desktop/ENV/pybitenv/bin/activate + sh '''source /home/cis/Desktop/ENV/pybitenv/bin/activate cd /home/cis/Desktop/Python/PyBitmessage sudo python setup.py install sudo /home/cis/.local/bin/nosetests --with-xunit tests