diff --git a/Jenkinsfile b/Jenkinsfile index c0c5a299..245c12a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } }