Browse Source

Jenkins: fix msg docs stash and archive

master
Daniel Agar 4 years ago
parent
commit
c6931814fa
  1. 10
      Jenkinsfile

10
Jenkinsfile vendored

@ -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 {

Loading…
Cancel
Save