fsfw-example-hosted/automation/Jenkinsfile

31 lines
609 B
Plaintext
Raw Normal View History

pipeline {
agent any
environment {
2022-07-04 10:10:03 +02:00
BUILDDIR = 'cmake-build-debug'
}
agent {
docker { image 'fsfw-ci:d2'}
}
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'
}
}
}
}
}