fsfw-example-hosted/automation/Jenkinsfile
Robin Mueller e6e2e1a935
All checks were successful
fsfw/fsfw example hosted/pipeline/head This commit looks good
bump used docker container for CI/CD
2022-07-04 10:23:05 +02:00

30 lines
595 B
Groovy

pipeline {
environment {
BUILDDIR = 'cmake-build-debug'
}
agent {
docker { image 'fsfw-ci:d3'}
}
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'
}
}
}
}
}