added install dependencies step
This commit is contained in:
parent
14ad62d334
commit
2b42434818
1 changed files with 9 additions and 3 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue