added install dependencies step

This commit is contained in:
kevlar 2018-03-07 09:55:44 -08:00
parent 14ad62d334
commit 2b42434818

12
Jenkinsfile vendored
View file

@ -1,7 +1,13 @@
pipeline {
agent any
stages {
stage('build') {
stage('install dependencies') {
steps {
sh 'sudo apt-get install libev-dev bridge-utils ebtables libtk-img bash iproute python tcl8.5 tk8.5 autoconf automake gcc libev-dev make python-dev libreadline-dev pkg-config imagemagick help2man python-sphinx python-setuptools python-pip'
sh 'sudo pip install mock pytest pytest-runner'
}
}
stage('build core') {
steps {
sh './bootstrap.sh'
sh './configure'
@ -9,9 +15,9 @@ pipeline {
sh 'sudo make install'
}
}
stage('test') {
stage('test core') {
steps {
sh 'pytest'
sh 'pytest daemon/tests'
}
}
}