chnages in jenkins

This commit is contained in:
cis-kuldeep 2019-07-03 19:30:16 +05:30 committed by GitHub
parent a526740e2f
commit 7ef2acc2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
Jenkinsfile vendored
View File

@ -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