Skip to content

Commit 4cc7913

Browse files
committed
Closes #93
1 parent f5824b5 commit 4cc7913

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packer-templates/scripts/jenkins.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ apt-get install -y \
1212
zip \
1313
unzip
1414

15-
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
16-
echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
15+
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
16+
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > \
17+
/etc/apt/sources.list.d/jenkins.list'
1718

1819
apt-get update
1920
apt-get install -y jenkins

0 commit comments

Comments
 (0)