Download JDK for windows build (#851)

Don't use the system Java on Windows builds, instead download them from Adoptium.

Also:

* Fail job if curl returns a 4xx status code
* Add java version to `GradleJob`
This commit is contained in:
Daniel Chao
2024-12-19 09:23:04 -08:00
committed by Dan Chao
parent 639cc2430e
commit 3ece353e0c
7 changed files with 123 additions and 58 deletions
+2 -6
View File
@@ -23,6 +23,8 @@ command: String
os = "linux"
javaVersion = "17.0"
steps {
new Config.RunStep {
name = module.name
@@ -31,9 +33,3 @@ steps {
"""
}
}
job {
docker {
new { image = "cimg/openjdk:17.0" }
}
}