On Debian-based distributions, such as Ubuntu, you can install Jenkins through
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list
sudo aptitude update
sudo aptitude install jenkins
What does this package do?
- Jenkins will be launched as a daemon up on start. See
/etc/init.d/jenkinsfor 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/jenkinswill capture configuration parameters for the launch.