Redirecting...

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

Click here if you are not redirected.

젠킨스 CI

ci.px4.io의 젠킨스 지속 통합 서버는 PX4 SITL에 대한 통합 테스트를 자동으로 수행합니다.

개요

  • 수반 요소: 젠킨스, 도커, PX4 POSIX SITL
  • 도커 컨테이너에서의 코드 시험 실행
  • 젠킨스에서 실행하는 작업 두가지: 마스터 브랜치에 대한 PR 점검, 마스터 브랜치로의 push 점검

실행 시험

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

도거를 설치했다면 동일한 방식을 로컬에서 진행할 수 있습니다:

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

서버 설정

설치

자세한 젠킨스 설치 및 관리 방법 내용은 설치 script/log를 참고하십시오.

설정

  • 젠킨스 보안 활성
  • 설치 플러그인

    • Github
    • Github pull 요청 빌더
    • 내장형 빌드 상태 표시 플러그인
    • s3 플러그인
    • 알림 플러그인
    • 콘솔 섹션 축소 기능
    • postbuildscript

results matching ""

    No results matching ""