Temurin/Adoptium
kind: temurin
On this page
source | condition | target |
---|---|---|
✔ | ✗ | ✗ |
Description
source
The Temurin (Adoptium) "source" retrieves a release name, Installer URL, Checskum URL or signature URL from Adoptium (https://adoptium.net/) using their API (https://api.adoptium.net/).
condition
Unsupported
target
Unsupported
Parameter
Name | Type | Description | Required |
---|---|---|---|
architecture | string | Architecture specifies the CPU architecture to filter the Temurin release to retrieve. default: “x64” Allowed values:
| |
featureversion | integer | FeatureVersion specifies the Major Java version to filter the Temurin release to retrieve. default: undefined Allowed values: integer number (8, 11, 17, 21, etc.) | |
imagetype | string | ImageType specifies the type of artifact to filter the Temurin release to retrieve. default: “jdk” Allowed values:
| |
operatingsystem | string | OperatingSystem specifies the Operating System to filter the Temurin release to retrieve. default: “linux” Allowed values:
| |
project | string | Project specifies the project to filter the Temurin release to retrieve. default: “jdk” Allowed values:
| |
releaseline | string | ReleaseLine specifies the line of Temurin release to retrieve. default: “lts” Allowed values:
| |
releasetype | string | ReleaseType specifies the type of Temurin release to retrieve. default: “ga” Allowed values:
| |
result | string | Result specifies the type of value returned by the retrieved Temurin release. default: “version” Allowed values:
| |
specificversion | string | SpecificVersion specifies the exact Temurin version to filter the Temurin release to retrieve. Ignores FeatureVersion when used. default: undefined Allowed values: string (can be a semantic version, a JDK version or a temurin release name) |
Example
# updatecli.yaml
sources:
## Returns the latest LTS version
getLatestLtsVersion:
kind: temurin
## Returns the latest feature release
getLatestFeatureVersion:
kind: temurin
spec:
releaseline: feature
## Returns the latest LTS "nightly build" (Early Availability) version
getLatestLtsEarlyAvailabilityVersion:
kind: temurin
spec:
releaseline: lts
releasetype: ea
## Returns the latest "Valhalla" Project JDK 17 version available for Windows
getLatestWindowsValhalla17Version:
kind: temurin
spec:
featureversion: 17
project: valhalla
operatingsystem: windows
# Returns the latest installer URL for Linux x64
getLatestLTSLinuxAMD64InstallerURL:
kind: temurin
spec:
result: installer_url
## Returns the latest LTS Installer's checksum URL for s390x Alpine Linux JRE
getLatestJRE17LinuxS390xChecksumUrl:
kind: temurin
spec:
operatingsystem: alpine-linux
architecture: s390x
imagetype: jre
result: checksum_url
## Returns latest Installer's Signature URL of the Windows JDK version "17.0.2*"
getLatestCustomVersionWindowsSignatureUrl:
kind: temurin
spec:
version: "17.0.2"
operatingsystem: windows
result: signature_url