PX4开发指南-15.2.1.Jenkins持续集成环境
PX4开发指南-15.2.1.Jenkins持续集成环境
Jenkins CI
- Jenkins continuous integration server on SITL01 is used to automatically run integration tests against PX4 SITL.
Overview
包含组件:Jenkins, Docker, PX4 POSIX SITL
Docker Containers内的测试
Jenkins executes 2 jobs: one to check each PR against master, and the other to check every push on master
Test Execution
Jenkins使用
[run_container.bash][2]
启动容器,该容器又执行[run_tests.bash][3]
来编译和运行测试。如果Docker安装方式相同,则可以在本地使用:
cd <directory_where_firmware_is_cloned>
sudo WORKSPACE=$(pwd) ./Firmware/integrationtests/run_container.bash
Server Setup
Installation
有关Jenkins如何安装和维护的详细信息,请参阅安装脚本/日志。
Configuration
Jenkins security enabled
安装插件
github
github pull request builder
embeddable build status plugin
s3 plugin
notification plugin
collapsing consol
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号