fsfw-example-hosted/automation/Jenkinsfile

30 lines
595 B
Plaintext
Raw Normal View History

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'}
}
stages {
2022-07-04 10:10:03 +02:00
stage('Clean') {
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'
}
}
}
}
}