Created
September 16, 2018 16:27
-
-
Save chfw/106e63fa9aa191696f54c7b14a177e39 to your computer and use it in GitHub Desktop.
This file contains 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
create an instance in gcloud | |
you need java | |
sudo apt install openjdk-8-jre-headless | |
then following these commands | |
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 | |
startup | |
sudo /etc/init.d/jenkins start | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment