Skip to content

Commit

Permalink
Merge pull request #213 from sbesson/bioformats_jdk21
Browse files Browse the repository at this point in the history
BIOFORMATS-image: include JDK 21 in the daily Java rotation
  • Loading branch information
jburel authored Mar 13, 2024
2 parents c7ac8a6 + ef047db commit 9c3f8e4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions home/jobs/BIOFORMATS-image/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>if (( $(date +%u) % 3 == 1 )); then
<command>if (( $(date +%u) % 4 == 1 )); then
BASE_IMAGE=openjdk:8-slim-bullseye
elif (( $(date +%u) % 3 == 2 )); then
elif (( $(date +%u) % 4 == 2 )); then
BASE_IMAGE=openjdk:11-slim-bullseye
else
elif (( $(date +%u) % 4 == 3 )); then
BASE_IMAGE=openjdk:17-slim-bullseye
else
BASE_IMAGE=openjdk:21-slim-bullseye
fi

sudo docker pull $BASE_IMAGE
Expand Down

0 comments on commit 9c3f8e4

Please sign in to comment.