Redirecting...

This page has moved to https://docs.px4.io/master/zh/test_and_ci/jenkins_ci.html.

Click here if you are not redirected.

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.

如果安装了 Docker,则可以在本地使用相同的方法:

cd <directory_where_PX4-Autopilot_is_cloned>
sudo WORKSPACE=$(pwd) ./PX4-Autopilot/integrationtests/run_container.bash

服务器配置

安装

有关如何安装和维护 Jenkins 的详细信息,请参阅 setup script/log

配置

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

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

results matching ""

    No results matching ""