Skip to content

Instantly share code, notes, and snippets.

@amejiarosario
Last active December 22, 2015 21:59
Show Gist options
  • Save amejiarosario/6536768 to your computer and use it in GitHub Desktop.
Save amejiarosario/6536768 to your computer and use it in GitHub Desktop.
install jenkins for rails
### https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
wget -q -O - http://pkg.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
### Start jenkins
sudo service jenkins start
### OPTIONALS ####
### make jenkins sudo
# sudo adduser jenkins sudo
# #or
# echo 'jenkins ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
### Backing up/Moving Jobs
## https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins#AdministeringJenkins-Moving/copying/renamingjobs
### Change username's password
# sudo su
# passwd jenkins
## Enter new UNIX password:
## Retype new UNIX password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment