chnages in jenkins
This commit is contained in:
parent
a526740e2f
commit
7ef2acc2d0
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -9,16 +9,14 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Build environment') {
|
stage('Build environment') {
|
||||||
steps {
|
steps {
|
||||||
sh '''export WORKSPACE=`pwd`
|
sh '''source /home/cis/Desktop/ENV/pybitenv/bin/activate
|
||||||
source /home/cis/Desktop/ENV/pybitenv/bin/activate
|
|
||||||
pip install -r /home/cis/Desktop/Python/PyBitmessage/requirements.txt
|
pip install -r /home/cis/Desktop/Python/PyBitmessage/requirements.txt
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test environment') {
|
stage('Test environment') {
|
||||||
steps {
|
steps {
|
||||||
sh '''export WORKSPACE=`pwd`
|
sh '''source /home/cis/Desktop/ENV/pybitenv/bin/activate
|
||||||
source /home/cis/Desktop/ENV/pybitenv/bin/activate
|
|
||||||
cd /home/cis/Desktop/Python/PyBitmessage
|
cd /home/cis/Desktop/Python/PyBitmessage
|
||||||
sudo python setup.py install
|
sudo python setup.py install
|
||||||
sudo /home/cis/.local/bin/nosetests --with-xunit tests
|
sudo /home/cis/.local/bin/nosetests --with-xunit tests
|
||||||
|
|
Loading…
Reference in New Issue
Block a user