fsfw-example-hosted/automation/Jenkinsfile
Robin Mueller 3ed1b6f9f1
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
update jenkinsfile
2022-07-04 10:10:03 +02:00

31 lines
609 B
Groovy

pipeline {
agent any
environment {
BUILDDIR = 'cmake-build-debug'
}
agent {
docker { image 'fsfw-ci:d2'}
}
stages {
stage('Clean') {
steps {
sh 'rm -rf $BUILDDIR'
}
}
stage('Configure') {
steps {
dir(BUILDDIR) {
sh 'cmake -DFSFW_OSAL=host ..'
}
}
}
stage('Build') {
steps {
dir(BUILDDIR) {
sh 'cmake --build . -j4'
}
}
}
}
}