Add Java 17.0.5.
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -25,7 +25,7 @@ pipeline {
|
||||
|
||||
steps {
|
||||
script {
|
||||
def image = docker.build("springci/spring-data-release-tools:0.4", "ci")
|
||||
def image = docker.build("springci/spring-data-release-tools:0.5", "ci")
|
||||
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
|
||||
image.push()
|
||||
}
|
||||
@@ -39,7 +39,7 @@ pipeline {
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
image 'springci/spring-data-release-tools:0.4'
|
||||
image 'springci/spring-data-release-tools:0.5'
|
||||
}
|
||||
}
|
||||
options { timeout(time: 4, unit: 'HOURS') }
|
||||
|
||||
@@ -9,8 +9,15 @@ ARG USER_NAME="jenkins"
|
||||
RUN groupadd -g $USER_GID $USER_NAME && \
|
||||
useradd -m -g $USER_GID -u $USER_UID $USER_NAME
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install curl zip gnupg
|
||||
RUN set -eux; \
|
||||
touch /etc/apt/apt.conf.d/99verify-peer.conf && \
|
||||
echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }" && \
|
||||
sed -i -e 's/archive.ubuntu.com/atl.mirrors.clouvider.net\/ubuntu/g' /etc/apt/sources.list && \
|
||||
sed -i -e 's/security.ubuntu.com/atl.mirrors.clouvider.net\/ubuntu/g' /etc/apt/sources.list && \
|
||||
sed -i -e 's/ports.ubuntu.com/ftp.tu-chemnitz.de\/pub\/linux/g' /etc/apt/sources.list && \
|
||||
sed -i -e 's/http/https/g' /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get -y install curl zip gnupg libfreetype6
|
||||
RUN rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
@@ -22,6 +29,7 @@ RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \
|
||||
yes | sdk install java 17.0.2-tem && \
|
||||
yes | sdk install java 17.0.3-tem && \
|
||||
yes | sdk install java 17.0.4.1-tem && \
|
||||
yes | sdk install java 17.0.5-tem && \
|
||||
yes | sdk install java 8.0.322-tem && \
|
||||
yes | sdk install java 8.0.332-tem && \
|
||||
yes | sdk install java 8.0.345-tem && \
|
||||
|
||||
Reference in New Issue
Block a user