Robin Mueller
0e7201d993
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
47 lines
1.0 KiB
Groovy
47 lines
1.0 KiB
Groovy
pipeline {
|
|
agent any
|
|
environment {
|
|
BUILDDIR = 'build-Debug'
|
|
}
|
|
stages {
|
|
stage('Create Docker') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
additionalBuildArgs '--no-cache'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
sh 'rm -rf $BUILDDIR'
|
|
}
|
|
}
|
|
stage('Configure') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
dir(BUILDDIR) {
|
|
sh 'cmake -DFSFW_OSAL=host ..'
|
|
}
|
|
}
|
|
}
|
|
stage('Build') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
dir(BUILDDIR) {
|
|
sh 'cmake --build . -j'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|