From c6931814facd0c0a964d9b8b65d3e874599a213a Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 14 Aug 2021 15:07:39 -0400 Subject: [PATCH] Jenkins: fix msg docs stash and archive --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index da6500631a..745b65ebc6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {