2021-11-19 14:19:21 +01:00
|
|
|
pipeline {
|
|
|
|
environment {
|
2022-07-04 10:10:03 +02:00
|
|
|
BUILDDIR = 'cmake-build-debug'
|
|
|
|
}
|
|
|
|
agent {
|
2022-07-04 10:23:05 +02:00
|
|
|
docker { image 'fsfw-ci:d3'}
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|