-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins
23 lines (16 loc) · 917 Bytes
/
jenkins
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
# Install Jenkins
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
# Upgrade
sudo apt-get update
sudo apt-get install jenkins
# * Jenkins will be launched as a daemon up on start. See /etc/init.d/jenkins for more details.
# * The 'jenkins' user is created to run this service.
# * Log file will be placed in /var/log/jenkins/jenkins.log. Check this file if you are troubleshooting Jenkins.
# * /etc/default/jenkins will capture configuration parameters for the launch like e.g JENKINS_HOME
# * By default, Jenkins listen on port 8080. Access this port with your browser to start configuration.
# Install git and maven
sudo aptitude install git maven