checkout

    [Jenkins] Clone / Checkout Timeout 에러 처리

    [Jenkins] Clone / Checkout Timeout 에러 처리

    Jenkins에서 Git plugin을 사용하여, github의 프로젝트를 clone / check 시 timeout 에러가 발생하는 경우가 있다. Pull Request를 가져와 Jenkins에서 파이프라인을 수행하려할 때 아래와 같이 에러가 발생한다면 설정을 추가해주면 된다. ... > /usr/bin/git checkout -f f4dkcjp123lkk3344.... # timeout=10 ERROR: Timeout after 10 minutes ... Timeout이 발생할 수 있는 부분은 크게 2부분이다. clone, checkout 동작 시 repository에서 clone하거나, branch로 checkout 시 큰 용량이라면 문제가 발생할 수 있다. clone Configure > Bran..

    Github Action #2 - 예제 분석하기

    아래 예제는 Github Action에서 Workflow를 생성하면 기본으로 제공해주는 템플릿입니다. 해당 예제를 이용하여 Github Action #1 - 기본 용어 정리에서 설명한 내용을 기반으로 분석을 해보겠습니다. # This is a basic workflow to help you get started with Actions name: CI # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the main branch push: branches: [ main ] pull_request: branches: [ main ] # Allows you to r..