IT Talks/Linux

How To Install Jenkins on Ubuntu 22.04

OkOJJ 2023. 5. 23. 14:06

Jenkins μ„€μΉ˜ κ΄€λ ¨ν•΄μ„œ 검색을 ν•˜λ‹€λ³΄λ©΄ μ΄λŸ°μ €λŸ° 글듀이 λ§Žμ€λ°

μ„€μΉ˜ ν•˜λ‹€ 보면 GPG error 도 μ’…μ’… λ°œμƒν•˜κ³  이런 μ €λŸ° 였λ₯˜κ°€ λ‚˜μ˜€λŠ” κ²½μš°κ°€ μžˆλŠ”λ° 

곡식 ν™ˆνŽ˜μ΄μ§€μ— μžˆλŠ” κ°€μ΄λ“œ λŒ€λ‘œ λ”°λΌν•˜λ©΄ 문제 없이 μ„€μΉ˜κ°€ λ˜λŠ” 것 κ°™λ‹€.

 

* 좜처 : https://pkg.origin.jenkins.io/debian-stable/

μ•„λž˜ μ½”λ“œλ₯Ό μ‰΄μ—μ„œ μˆœμ„œλŒ€λ‘œ μ‹€ν–‰

curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \
/usr/share/keyrings/jenkins-keyring.asc > /dev/null

 

echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
    https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
    /etc/apt/sources.list.d/jenkins.list > /dev/null

 

sudo apt-get update

sudo apt-get install fontconfig openjdk-11-jre

sudo apt-get install jenkins

 

 

728x90