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
90bfd0bf
Commit
90bfd0bf
authored
Nov 13, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
761ebf03
acf046ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
setup.sh
ci/images/setup.sh
+4
-8
No files found.
ci/images/setup.sh
View file @
90bfd0bf
...
@@ -19,19 +19,15 @@ curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/c
...
@@ -19,19 +19,15 @@ curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/c
case
"
$1
"
in
case
"
$1
"
in
java8
)
java8
)
JDK_URL
=
https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u192-b12/OpenJDK8U-jdk_x64_linux_hotspot_8u192b12.tar.gz
JDK_URL
=
https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u192-b12/OpenJDK8U-jdk_x64_linux_hotspot_8u192b12.tar.gz
JDK_STRIP
=
2
;;
;;
java9
)
java9
)
JDK_URL
=
https://download.java.net/java/GA/jdk9/9.0.4/binaries/openjdk-9.0.4_linux-x64_bin.tar.gz
JDK_URL
=
https://github.com/AdoptOpenJDK/openjdk9-binaries/releases/download/jdk-9.0.4%2B11/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
JDK_STRIP
=
1
;;
;;
java10
)
java10
)
JDK_URL
=
https://download.java.net/java/GA/jdk10/10.0.1/fb4372174a714e6b8c52526dc134031e/10/openjdk-10.0.1_linux-x64_bin.tar.gz
JDK_URL
=
https://github.com/AdoptOpenJDK/openjdk10-releases/releases/download/jdk-10.0.2%2B13/OpenJDK10_x64_Linux_jdk-10.0.2.13.tar.gz
JDK_STRIP
=
1
;;
;;
jav11
)
jav11
)
JDK_URL
=
https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz
JDK_URL
=
https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.1%2B13/OpenJDK11U-jdk_x64_linux_hotspot_11.0.1_13.tar.gz
JDK_STRIP
=
1
;;
;;
*
)
*
)
echo
$"Unknown java version"
echo
$"Unknown java version"
...
@@ -39,7 +35,7 @@ case "$1" in
...
@@ -39,7 +35,7 @@ case "$1" in
esac
esac
mkdir
-p
/opt/openjdk
mkdir
-p
/opt/openjdk
cd
/opt/openjdk
cd
/opt/openjdk
curl
-L
${
JDK_URL
}
|
tar
zx
--strip-components
=
${
JDK_STRIP
}
curl
-L
${
JDK_URL
}
|
tar
zx
--strip-components
=
2
###########################################################
###########################################################
...
...
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