2021-11-19 14:19:21 +01:00
|
|
|
pipeline {
|
|
|
|
environment {
|
2022-07-04 10:10:03 +02:00
|
|
|
BUILDDIR = 'cmake-build-debug'
|
|
|
|
}
|
|
|
|
agent {
|
|
|
|
docker { image 'fsfw-ci:d2'}
|
2021-11-19 14:19:21 +01:00
|
|
|
}
|
|
|
|
stages {
|
2022-07-04 10:10:03 +02:00
|
|
|
stage('Clean') {
|
2021-11-19 14:19:21 +01:00
|
|
|
steps {
|
|
|
|
sh 'rm -rf $BUILDDIR'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Configure') {
|
|
|
|
steps {
|
|
|
|
dir(BUILDDIR) {
|
|
|
|
sh 'cmake -DFSFW_OSAL=host ..'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
dir(BUILDDIR) {
|
2022-07-04 10:10:03 +02:00
|
|
|
sh 'cmake --build . -j4'
|
2021-11-19 14:19:21 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|