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 { agent {
docker { image 'px4io/px4-dev-base-focal:2021-05-04' } docker { image 'px4io/px4-dev-base-focal:2021-05-04' }
} }
steps { steps {
sh './msg/tools/generate_msg_docs.py -d /tmp/msg_docs' sh 'mkdir -p build/msg_docs; ./msg/tools/generate_msg_docs.py -d build/msg_docs'
dir('/tmp') { dir('build') {
archiveArtifacts(artifacts: '/tmp/msg_docs/*.md') archiveArtifacts(artifacts: 'msg_docs/*.md')
stash includes: '/tmp/msg_docs/*.md', name: 'msg_documentation' stash includes: 'msg_docs/*.md', name: 'msg_documentation'
} }
} }
post { post {