Skip to content

Instantly share code, notes, and snippets.

View salvatoretrimarchi's full-sized avatar
🙂
Happy

Salvatore Josué Trimarchi Pinto salvatoretrimarchi

🙂
Happy
View GitHub Profile
@salvatoretrimarchi
salvatoretrimarchi / install_jenkins.sh
Created September 3, 2018 16:37 — forked from nekoya/install_jenkins.sh
Install Jenkins
#Ubuntu Xenial
if [ ! -f /etc/init.d/jenkins ];then
curl -L http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list
apt-get -y update
apt-get install -y openjdk-8-jdk jenkins
# wait jenkins http port
echo "wait Jenkins service "
while [ "`netstat -tunl|grep 8080`" = "" ];do echo -n "."; sleep 1; done