4. Setup Configurations in Jenkins
I need to setup configurations.
My company's tool has been built by Jdk1.6.0_45 and ant1.7.0.
(I don't like these old versions. However, I don't have authority changing this.)
Go to 'Configuration System'
Select SVN version and save
Go to 'Global Tool Configuration'
Fill in the name and select version.
I select jdk1.6.0_45. You can select other proper version for you
For download jdk from oracle click this
Fill in your oracle account informations
Saved
Fill in the name and select version
I select and1.7.0
2018년 7월 27일 금요일
2018년 7월 22일 일요일
[Automate Build] 3. Getting Started Jenkins
3. Getting Started Jenkins
Input initial password
I don't know well about Jenkins, so I choose 'Install sugested plugins'
Some plugins are installing
I need to make first admin user
Jenkins is ready!
Input initial password
I don't know well about Jenkins, so I choose 'Install sugested plugins'
Some plugins are installing
I need to make first admin user
Jenkins is ready!
[Automate Build] 2. Set up Jenkins Server on Docker
2. Set up jenkins server on docker
** error : I got an error. when I installed jdk 1.7 on Jenkins on the virtualBox SharedFolder(/share/).
Access jenkins page through browser and you need initial password
2-2.Optional
I want jenkins' workspace to be on the virtualBox SharedFolder
Make new virtualBox SharedFolder in setting.
Mount jenkins-workspace
# mkdir -p /share/docker/jenkins
# docker run -d -p 8080:8080 -v /share/docker/jenkins:/var/jenkins_home --name jenkins -u root jenkins
------ update 2018-02-26 ------
** error : I got an error. when I installed jdk 1.7 on Jenkins on the virtualBox SharedFolder(/share/).
# mkdir -p /docker/jenkins
# docker run -d -p 8080:8080 -v /docker/jenkins:/var/jenkins_home --name jenkins -u root jenkins
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c78da9c5ae57 jenkins "/bin/tini -- /usr/l…" About a minute ago Up About a minute 0.0.0.0:8080->8080/tcp, 50000/tcp jenkins
a95a445b29c8 garethflowers/svn-server "/usr/bin/svnserve -…" 14 hours ago Up 4 minutes (healthy) 0.0.0.0:3690->3690/tcp svn-server
Access jenkins page through browser and you need initial password
# docker exec -it jenkins cat /var/jenkins_home/secrets/initialAdminPassword
a5a62c8d573c4a5682993f0820680349
2-2.Optional
I want jenkins' workspace to be on the virtualBox SharedFolder
Make new virtualBox SharedFolder in setting.
Mount jenkins-workspace
# sudo mount -t vboxsf jenkins_workspace /docker/jenkins/workspace/
피드 구독하기:
글 (Atom)