설치 환경

윈도우 10

WSL - 우분투 20 버전

 

 

 

 

wsl 파일 접근하기

\\wsl$

 

 

Install Jenkins

Here is the note about installing Jenkins on WSL that I collect from site list in reference,

Make an apt update, or JRE may download incomplete,

sudo apt update

Install Java Runtime Environment (JRE)

sudo apt install default-jdk default-jre

Right here, I will test if java installed by this

javac

Setup GPG keys of the Jenkins repository

wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -

Add Jenkins repository

sudo sh -c "echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list"

Make an apt update before installing, since you just add a new repository,

sudo apt update

Install Jenkins via apt

sudo apt install jenkins

 

[설치에 실패 하는 경우가 있다. 아래의 세 동작으로 해결하자.]

sudo apt install ca-certificates

sudo apt-get update

sudo apt install jenkins

 

Start Jenkins services by

sudo /etc/init.d/jenkins start

Launch Jenkins

Launch your browser and navigate to

http://{your_ip}:8080

Here you are, your personal Jenkins in WSL!!! At the first time you launch your Jenkins, you will need an initial admin password, just “more” this,

sudo more /var/lib/jenkins/secrets/initialAdminPassword

 

admin page 접속시 암호는 위의 명령어로 얻어 온다.

입장하여 기본 설치 진행후 아이디, 암호 설정 하면 끝

 

 

 

 

 

 

 

 

 

 

 

'IT' 카테고리의 다른 글

윈도우 젠킨스 설정  (0) 2022.02.24
젠킨스 + bitbucket + fastlane  (0) 2022.02.23
안드로이드 스튜디오 ssl 그래들 오류 해결방법?  (0) 2019.07.09
안드 스튜디오에서 ndk 빌드하기  (0) 2019.06.18
vlc 2.5.5 compile  (0) 2017.11.14

+ Recent posts