2018-08-08 15:53:18 -04:00
|
|
|
pipeline {
|
2018-08-08 15:54:45 -04:00
|
|
|
agent {
|
2018-08-08 15:53:18 -04:00
|
|
|
label 'linux && debian && teaspeak'
|
|
|
|
}
|
|
|
|
|
2018-08-08 15:55:36 -04:00
|
|
|
stages {
|
2018-08-08 15:53:18 -04:00
|
|
|
stage ('Initialize libraries') {
|
|
|
|
steps {
|
|
|
|
sh 'apt-get update'
|
|
|
|
sh 'git submodule update --init --remote --recursive'
|
2018-08-08 16:21:24 -04:00
|
|
|
sh 'git submodule update'
|
2018-08-08 15:53:18 -04:00
|
|
|
sh './attach_modules.sh'
|
2018-08-08 16:07:35 -04:00
|
|
|
sh 'cd libraries; ./build.sh'
|
|
|
|
|
2018-08-08 15:53:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage ('Build TeaSpeak') {
|
|
|
|
steps {
|
2018-08-08 18:24:33 -04:00
|
|
|
sh './build_teaspeak.sh'
|
2018-08-08 15:53:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|