Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2b4f323b
Commit
2b4f323b
authored
Nov 28, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.2.x'
Closes gh-19176
parents
c3786e72
208b2d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
detect-jdk-updates.sh
ci/scripts/detect-jdk-updates.sh
+5
-5
No files found.
ci/scripts/detect-jdk-updates.sh
View file @
2b4f323b
...
...
@@ -2,15 +2,15 @@
case
"
$JDK_VERSION
"
in
java8
)
BASE_URL
=
"https://api.adoptopenjdk.net/v
2/info/releases/openjdk
8"
BASE_URL
=
"https://api.adoptopenjdk.net/v
3/assets/feature_releases/
8"
ISSUE_TITLE
=
"Upgrade Java 8 version in CI image"
;;
java11
)
BASE_URL
=
"https://api.adoptopenjdk.net/v
2/info/releases/openjdk
11"
BASE_URL
=
"https://api.adoptopenjdk.net/v
3/assets/feature_releases/
11"
ISSUE_TITLE
=
"Upgrade Java 11 version in CI image"
;;
java13
)
BASE_URL
=
"https://api.adoptopenjdk.net/v
2/info/releases/openjdk
13"
BASE_URL
=
"https://api.adoptopenjdk.net/v
3/assets/feature_releases/
13"
ISSUE_TITLE
=
"Upgrade Java 13 version in CI image"
;;
*
)
...
...
@@ -18,8 +18,8 @@ case "$JDK_VERSION" in
exit
1
;
esac
response
=
$(
curl
-s
${
BASE_URL
}
\
?
openjdk_impl
\=
hotspot
\&
os
\=
linux
\&
arch
\=
x64
\&
release
\=
latest
\&
type
\=
jdk
)
latest
=
$(
jq
-r
'.
binaries[0].binary_
link'
<<<
"
$response
"
)
response
=
$(
curl
-s
${
BASE_URL
}
\
/
ga
\?
architecture
\=
x64
\&
heap_size
\=
normal
\&
image_type
\=
jdk
\&
jvm_impl
\=
hotspot
\&
os
\=
linux
\&
sort_order
\=
DESC
\&
vendor
\=
adoptopen
jdk
)
latest
=
$(
jq
-r
'.
[0].binaries[0].package.
link'
<<<
"
$response
"
)
current
=
$(
git-repo/ci/images/get-jdk-url.sh
${
JDK_VERSION
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment