Jenkins CI

ci.px4.io 上的 Jenkins 持续集成服务器用于自动运行针对 PX4 SITL 的集成测试。

概述

  • 涉及的组件:Jenkins,Docker,PX4 POSIX SITL
  • 测试在 Docker Containers 内运行
  • Jenkins 执行了 2 个工作:一个用于检查每个 PR 与主控,另一个用于检查主控上的每次推送

测试执行

Jenkins uses run_container.bash to start the container which in turn executes run_tests.bash to compile and run the tests.

If Docker is installed the same method can be used locally:

cd <directory_where_firmware_is_cloned>
sudo WORKSPACE=$(pwd) ./Firmware/integrationtests/run_container.bash

服务器配置

安装

See setup script/log for details on how Jenkins got installed and maintained.

配置

  • Jenkins 安全性已启用
  • 已安装的插件

    • github
    • github 请求构建器
    • 嵌入式构建状态插件
    • s3 插件
    • 通知插件
    • 折叠控制台部分
    • postbuildscript

results matching ""

    No results matching ""