Jenkins: fix msg docs stash and archive

This commit is contained in:
Daniel Agar
2021-08-14 15:07:39 -04:00
parent b98656ccb4
commit c6931814fa
Vendored
+5 -5
View File
@@ -143,15 +143,15 @@ pipeline {
}
}
stage('msg files') {
stage('msg file docs') {
agent {
docker { image 'px4io/px4-dev-base-focal:2021-05-04' }
}
steps {
sh './msg/tools/generate_msg_docs.py -d /tmp/msg_docs'
dir('/tmp') {
archiveArtifacts(artifacts: '/tmp/msg_docs/*.md')
stash includes: '/tmp/msg_docs/*.md', name: 'msg_documentation'
sh 'mkdir -p build/msg_docs; ./msg/tools/generate_msg_docs.py -d build/msg_docs'
dir('build') {
archiveArtifacts(artifacts: 'msg_docs/*.md')
stash includes: 'msg_docs/*.md', name: 'msg_documentation'
}
}
post {