added automation files and updated README
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit

This commit is contained in:
2021-11-19 14:19:21 +01:00
parent 5e4ade0849
commit 0e7201d993
3 changed files with 56 additions and 2 deletions

46
automation/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,46 @@
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'
}
}
}
}
}