Jenkins

Jenkins in Ubuntu

  • OS : Ubuntu 18.04

Jenkins 설치

# apt-get upgrade
sudo apt-get update -y
sudo apt-get upgrade -y

# install JDK (필요하다면)
sudo apt install openjdk-11-jdk -y

# add gpg key for jenkins installation
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -

# add repository address to /etc/apt/sources.list.d
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

# upgrade package again
sudo apt-get update -y

# install jenkins
sudo apt-get install jenkins -y

Jenkins 시작

Jenkins 중지

Jenkins 방화벽 설정

Jenkins 포트 변경

Last updated