Jenkins 설치 방법
아래 링크를 따라 Jenkins를 설치하였고 설치 과정중에 마주한 에러들을 아래 첨부해놨습니다.
https://myminju.tistory.com/115
Ubuntu에 Jenkins 설치하기 (23.3.28 서명키 업데이트)
설치 환경 NHN Cloud Ubuntu 20.04 LTS Jenkins 2.397 ⚠️ 주의 ! 2023년 3월 28일부터 Linux 설치 패키지에 대한 새로운 레포지토리 서명 키를 사용합니다. Jenkins 2.397 설치하기 전에 새 서명 키로 설치해야 합
myminju.tistory.com
Error: Jenkins 설치 시 필요한 패키지 설치
docker-desktop : PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed
E: Unable to correct problems, you have held broken packages.
Jenkins 설치 시 init-system-helpers 1.54 버전 이상의 버전을 요구하였고 아래 링크에서 알려주는 방식으로 init-system-helpers 1.60 버전을 설치하여 문제를 해결하였습니다.
https://askubuntu.com/questions/1408367/installing-docker-getting-predepends-init-system-helpers-1-54-but-1-51
Installing docker, getting: `PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed`
So these are the install instructions for Docker After you setup the GPG key and prerequisites it basically consists of: Getting the (latest) .deb release from the releases page sudo apt install ./
askubuntu.com
Error: Jenkins 실행 시 Java 버전 차이로 인한 문제
sudo apt update
sudo apt install fontconfig openjdk-17-jre
버전 차이 문제로 일해 Jenkins가 실행되지 않는 문제가 발생하였습니다.
Jenkins 2.462.1버전 기준 저는 자바SDK 17버전을 설치하였더니 정상 동작하였습니다.
'Jenkins' 카테고리의 다른 글
Jenkins) 안드로이드 앱 프로젝트 빌드하기 (1) | 2024.09.10 |
---|---|
Jenkins) Github repo에 위치한 간단한 Jenkinsfile 동작시켜보기 (0) | 2024.09.04 |
Jenkins) Jenkins에 대해서 알아보자 (2) | 2024.09.03 |