Skip to content

Commit

Permalink
jenkins version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Aug 13, 2018
1 parent 24083ff commit 7964234
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions jenkins-packer-demo/scripts/jenkins-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@ mkdir -p /var/lib/jenkins
echo '/dev/data/volume1 /var/lib/jenkins ext4 defaults 0 0' >> /etc/fstab
mount /var/lib/jenkins

# install jenkins
# jenkins repository
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
echo "deb http://pkg.jenkins.io/debian-stable binary/" >> /etc/apt/sources.list
apt-get update

# install dependencies
apt-get install -y python3 openjdk-8-jre
update-java-alternatives --set java-1.8.0-openjdk-amd64
# install jenkins
apt-get install -y jenkins=${JENKINS_VERSION} unzip

# install pip
wget -q https://bootstrap.pypa.io/get-pip.py
python get-pip.py
python3 get-pip.py
rm -f get-pip.py
# install awscli
Expand Down
2 changes: 1 addition & 1 deletion jenkins-packer-demo/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "INSTANCE_DEVICE_NAME" {
default = "/dev/xvdh"
}
variable "JENKINS_VERSION" {
default = "2.32.1"
default = "2.121.2"
}
variable "TERRAFORM_VERSION" {
default = "0.11.7"
Expand Down

0 comments on commit 7964234

Please sign in to comment.