Skip to content
Snippets Groups Projects
Commit 978a362b authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Always stash known_hosts and Doxygen.

parent ee0c43e8
No related branches found
No related tags found
No related merge requests found
...@@ -110,13 +110,13 @@ pipeline { ...@@ -110,13 +110,13 @@ pipeline {
post { post {
always { always {
publishReports { } publishReports { }
dir('scripts/jenkins') { stash(name: 'known_hosts', includes: 'known_hosts') }
dir('build/docs') { stash(name: 'doxygen') }
} }
failure { failure {
dir('build') { deleteDir() } dir('build') { deleteDir() }
} }
success { success {
dir('build/docs') { stash(name: 'doxygen') }
dir('scripts/jenkins') { stash(name: 'known_hosts', includes: 'known_hosts') }
script { script {
publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: true, publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: true,
keepAll: true, reportDir: 'build/docs', reportFiles: 'index.html', keepAll: true, reportDir: 'build/docs', reportFiles: 'index.html',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment