Last active
December 22, 2015 21:59
-
-
Save amejiarosario/6536768 to your computer and use it in GitHub Desktop.
install jenkins for rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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