Commit 764df82f authored by Dominik Charousset's avatar Dominik Charousset

Build documentation via Jenkinsfile

parent c55d51b3
...@@ -198,11 +198,12 @@ pipeline { ...@@ -198,11 +198,12 @@ pipeline {
deleteDir() deleteDir()
dir('caf-sources') { dir('caf-sources') {
checkout scm checkout scm
sh './scripts/get-release-version.sh'
} }
stash includes: 'caf-sources/**', name: 'caf-sources' stash includes: 'caf-sources/**', name: 'caf-sources'
} }
} }
// Start builds. /*
stage('Builds') { stage('Builds') {
steps { steps {
script { script {
...@@ -222,6 +223,26 @@ pipeline { ...@@ -222,6 +223,26 @@ pipeline {
} }
} }
} }
*/
stage('Documentation') {
agent { label 'pandoc' }
steps {
deleteDir()
unstash('caf-sources')
dir('caf-sources') {
// Configure and build.
cmakeBuild([
buildDir: 'build',
installation: 'cmake in search path',
sourceDir: '.',
steps: [[
args: '--target doc',
withCmake: true,
]],
])
}
}
}
} }
post { post {
success { success {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment