mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 07:10:34 +08:00
Jenkins: fix msg docs stash and archive
This commit is contained in:
Vendored
+5
-5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user