changes in file
This commit is contained in:
parent
34e77e980d
commit
048a7239a5
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -4,6 +4,19 @@ pipeline {
|
|||
triggers {
|
||||
pollSCM('*/5 * * * *')
|
||||
}
|
||||
|
||||
|
||||
options {
|
||||
buildDiscarder(
|
||||
// Only keep the 10 most recent builds
|
||||
logRotator(numToKeepStr:'10'))
|
||||
}
|
||||
environment {
|
||||
projectName = 'BitMessage'
|
||||
emailTo = 'kuldeep.m@cisinlabs.com'
|
||||
emailFrom = 'kuldeep.m@cisinlabs.com'
|
||||
VIRTUAL_ENV = "${env.WORKSPACE}/venv"
|
||||
}
|
||||
|
||||
|
||||
stages {
|
||||
|
@ -66,7 +79,6 @@ pipeline {
|
|||
virtualenv venv
|
||||
#. venv/bin/activate
|
||||
export PATH=${VIRTUAL_ENV}/bin:${PATH}
|
||||
sudo python setup.py install
|
||||
sudo var/lib/jenkins/.local/bin/nosetests --with-xunit tests
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue
Block a user