[jenkins 에러 해결] Couldn't find any revision to build. Verify the repository and branch configuration for this job.

하는·2024년 4월 16일
0

세팅

목록 보기
4/4
post-thumbnail

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. SSH: Current build result is [FAILURE], not going to run. Finished: FAILURE

item 생성 후 첫 Build Now를 실행했는데 다음과 같은 오류가 발생했다. 이미 전에 작업했던 item 형식과 맞춰놨기 때문에 예상치 못한 오류.

에러 원인은 아마 최근 github 브랜치가 master가 아닌 main이 주 브랜치로 쓰이기 때문에 잘못된 접근으로 빌드할 리비전을 찾지 못한 것 같다.

젠킨스 구성에서 Branchs to build - Branch Specifier/master에서 /main으로 변경했더니 해결됐다!!

profile
천천히 꾸준히 취미처럼 냐미😋

0개의 댓글