Browse Source

Jenkinsfile: remove dev-guide metadata deployment

dev guide got merged with the user guide.
release/1.12
Beat Küng 4 years ago committed by Daniel Agar
parent
commit
b190d98d6d
  1. 4
      .github/workflows/metadata.yml
  2. 30
      Jenkinsfile

4
.github/workflows/metadata.yml

@ -23,7 +23,7 @@ jobs: @@ -23,7 +23,7 @@ jobs:
make airframe_metadata
cd build/px4_sitl_default/docs
ls -ls *
# TODO: deploy to devguide gitbook and s3
# TODO: deploy to userguide gitbook and s3
module:
runs-on: ubuntu-latest
@ -38,7 +38,7 @@ jobs: @@ -38,7 +38,7 @@ jobs:
make module_documentation
cd build/px4_sitl_default/docs
ls -ls *
# TODO: deploy to devguide gitbook and s3
# TODO: deploy to userguide gitbook and s3
parameter:
runs-on: ubuntu-latest

30
Jenkinsfile vendored

@ -172,36 +172,6 @@ pipeline { @@ -172,36 +172,6 @@ pipeline {
parallel {
stage('Devguide') {
agent {
docker { image 'px4io/px4-dev-base-focal:2020-11-18' }
}
steps {
sh('export')
unstash 'metadata_airframes'
unstash 'metadata_parameters'
unstash 'metadata_module_documentation'
withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) {
sh('git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/Devguide.git')
sh('cp airframes.md Devguide/en/airframes/airframe_reference.md')
sh('cp parameters.md Devguide/en/advanced/parameter_reference.md')
sh('cp -R modules/*.md Devguide/en/middleware/')
sh('cd Devguide; git status; git add .; git commit -a -m "Update PX4 Firmware metadata `date`" || true')
sh('cd Devguide; git push origin master || true')
sh('rm -rf Devguide')
}
}
when {
anyOf {
branch 'master'
branch 'pr-jenkins' // for testing
}
}
options {
skipDefaultCheckout()
}
}
stage('Userguide') {
agent {
docker { image 'px4io/px4-dev-base-focal:2020-11-18' }

Loading…
Cancel
Save