Some checks failed
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 0s
Licensed / Licensed (push) Failing after 0s
Validate cache with cache-dependency-path option / gradle1-save (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (windows-latest) (push) Has been cancelled
Validate cache / gradle-save (macos-latest) (push) Has been cancelled
Validate cache / gradle-save (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-save (windows-latest) (push) Has been cancelled
Validate cache / maven-save (macos-latest) (push) Has been cancelled
Validate cache / maven-save (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-save (windows-latest) (push) Has been cancelled
Validate cache / sbt-save (macos-latest) (push) Has been cancelled
Validate cache / sbt-save (ubuntu-latest) (push) Has been cancelled
Validate cache / sbt-save (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (windows-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (macos-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (windows-latest) (push) Has been cancelled
Validate cache / gradle-restore (macos-latest) (push) Has been cancelled
Validate cache / gradle-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-restore (windows-latest) (push) Has been cancelled
Validate cache / maven-restore (macos-latest) (push) Has been cancelled
Validate cache / maven-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt-restore (macos-latest) (push) Has been cancelled
Validate cache / sbt-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / sbt-restore (windows-latest) (push) Has been cancelled
Update configuration files / Update configuration files (push) Failing after 0s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Validate Java e2e / adopt 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / oracle 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / oracle 20 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell 11.0.13+9 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / oracle 20.0.1 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 8 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.242 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / adopt-openj9 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / adopt-openj9 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt-openj9 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / dragonwell 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / dragonwell 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / dragonwell 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / liberica 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / microsoft 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / microsoft 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / microsoft 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / oracle 20 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / semeru 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / semeru 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / semeru 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / temurin 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / temurin 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / temurin 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / zulu 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / zulu 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / zulu 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto version (should be from input) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin version (should be from input) - ubuntu-latest (push) Failing after 4s
Validate Java e2e / corretto version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
305 lines
8.3 KiB
TypeScript
Executable File
305 lines
8.3 KiB
TypeScript
Executable File
import * as fs from 'fs';
|
|
import os from 'os';
|
|
import * as path from 'path';
|
|
import * as core from '@actions/core';
|
|
import * as io from '@actions/io';
|
|
import * as toolchains from '../src/toolchains';
|
|
import {M2_DIR, MVN_TOOLCHAINS_FILE} from '../src/constants';
|
|
|
|
const m2Dir = path.join(__dirname, M2_DIR);
|
|
const toolchainsFile = path.join(m2Dir, MVN_TOOLCHAINS_FILE);
|
|
|
|
describe('toolchains tests', () => {
|
|
let spyOSHomedir: jest.SpyInstance;
|
|
let spyInfo: jest.SpyInstance;
|
|
|
|
beforeEach(async () => {
|
|
await io.rmRF(m2Dir);
|
|
spyOSHomedir = jest.spyOn(os, 'homedir');
|
|
spyOSHomedir.mockReturnValue(__dirname);
|
|
spyInfo = jest.spyOn(core, 'info');
|
|
spyInfo.mockImplementation(() => null);
|
|
}, 300000);
|
|
|
|
afterAll(async () => {
|
|
try {
|
|
await io.rmRF(m2Dir);
|
|
} catch {
|
|
console.log('Failed to remove test directories');
|
|
}
|
|
jest.resetAllMocks();
|
|
jest.clearAllMocks();
|
|
jest.restoreAllMocks();
|
|
}, 100000);
|
|
|
|
it('creates toolchains.xml in alternate locations', async () => {
|
|
const jdkInfo = {
|
|
version: '17',
|
|
vendor: 'Eclipse Temurin',
|
|
id: 'temurin_17',
|
|
jdkHome: '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64'
|
|
};
|
|
|
|
const altHome = path.join(__dirname, 'runner', 'toolchains');
|
|
const altToolchainsFile = path.join(altHome, MVN_TOOLCHAINS_FILE);
|
|
await io.rmRF(altHome); // ensure it doesn't already exist
|
|
|
|
await toolchains.createToolchainsSettings({
|
|
jdkInfo,
|
|
settingsDirectory: altHome,
|
|
overwriteSettings: true
|
|
});
|
|
|
|
expect(fs.existsSync(m2Dir)).toBe(false);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(false);
|
|
|
|
expect(fs.existsSync(altHome)).toBe(true);
|
|
expect(fs.existsSync(altToolchainsFile)).toBe(true);
|
|
expect(fs.readFileSync(altToolchainsFile, 'utf-8')).toEqual(
|
|
toolchains.generateToolchainDefinition(
|
|
'',
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
);
|
|
|
|
await io.rmRF(altHome);
|
|
}, 100000);
|
|
|
|
it('creates toolchains.xml with minimal configuration', async () => {
|
|
const jdkInfo = {
|
|
version: '17',
|
|
vendor: 'Eclipse Temurin',
|
|
id: 'temurin_17',
|
|
jdkHome: '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64'
|
|
};
|
|
|
|
const result = `<?xml version="1.0"?>
|
|
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 https://maven.apache.org/xsd/toolchains-1.1.0.xsd">
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>17</version>
|
|
<vendor>Eclipse Temurin</vendor>
|
|
<id>temurin_17</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
</toolchains>`;
|
|
|
|
await toolchains.createToolchainsSettings({
|
|
jdkInfo,
|
|
settingsDirectory: m2Dir,
|
|
overwriteSettings: true
|
|
});
|
|
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
expect(fs.readFileSync(toolchainsFile, 'utf-8')).toEqual(
|
|
toolchains.generateToolchainDefinition(
|
|
'',
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
);
|
|
expect(
|
|
toolchains.generateToolchainDefinition(
|
|
'',
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
).toEqual(result);
|
|
}, 100000);
|
|
|
|
it('reuses existing toolchains.xml files', async () => {
|
|
const jdkInfo = {
|
|
version: '17',
|
|
vendor: 'Eclipse Temurin',
|
|
id: 'temurin_17',
|
|
jdkHome: '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64'
|
|
};
|
|
|
|
const originalFile = `<toolchains>
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>1.6</version>
|
|
<vendor>Sun</vendor>
|
|
<id>sun_1.6</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>/opt/jdk/sun/1.6</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
</toolchains>`;
|
|
const result = `<?xml version="1.0"?>
|
|
<toolchains>
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>1.6</version>
|
|
<vendor>Sun</vendor>
|
|
<id>sun_1.6</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>/opt/jdk/sun/1.6</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>17</version>
|
|
<vendor>Eclipse Temurin</vendor>
|
|
<id>temurin_17</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
</toolchains>`;
|
|
|
|
fs.mkdirSync(m2Dir, {recursive: true});
|
|
fs.writeFileSync(toolchainsFile, originalFile);
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
|
|
await toolchains.createToolchainsSettings({
|
|
jdkInfo,
|
|
settingsDirectory: m2Dir,
|
|
overwriteSettings: true
|
|
});
|
|
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
expect(fs.readFileSync(toolchainsFile, 'utf-8')).toEqual(
|
|
toolchains.generateToolchainDefinition(
|
|
originalFile,
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
);
|
|
expect(
|
|
toolchains.generateToolchainDefinition(
|
|
originalFile,
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
).toEqual(result);
|
|
}, 100000);
|
|
|
|
it('does not overwrite existing toolchains.xml files', async () => {
|
|
const jdkInfo = {
|
|
version: '17',
|
|
vendor: 'Eclipse Temurin',
|
|
id: 'temurin_17',
|
|
jdkHome: '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64'
|
|
};
|
|
|
|
const originalFile = `<toolchains>
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>1.6</version>
|
|
<vendor>Sun</vendor>
|
|
<id>sun_1.6</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>/opt/jdk/sun/1.6</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
</toolchains>`;
|
|
|
|
fs.mkdirSync(m2Dir, {recursive: true});
|
|
fs.writeFileSync(toolchainsFile, originalFile);
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
|
|
await toolchains.createToolchainsSettings({
|
|
jdkInfo,
|
|
settingsDirectory: m2Dir,
|
|
overwriteSettings: false
|
|
});
|
|
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
expect(fs.readFileSync(toolchainsFile, 'utf-8')).toEqual(originalFile);
|
|
}, 100000);
|
|
|
|
it('generates valid toolchains.xml with minimal configuration', () => {
|
|
const jdkInfo = {
|
|
version: 'JAVA_VERSION',
|
|
vendor: 'JAVA_VENDOR',
|
|
id: 'VENDOR_VERSION',
|
|
jdkHome: 'JAVA_HOME'
|
|
};
|
|
|
|
const expectedToolchains = `<?xml version="1.0"?>
|
|
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 https://maven.apache.org/xsd/toolchains-1.1.0.xsd">
|
|
<toolchain>
|
|
<type>jdk</type>
|
|
<provides>
|
|
<version>${jdkInfo.version}</version>
|
|
<vendor>${jdkInfo.vendor}</vendor>
|
|
<id>${jdkInfo.id}</id>
|
|
</provides>
|
|
<configuration>
|
|
<jdkHome>${jdkInfo.jdkHome}</jdkHome>
|
|
</configuration>
|
|
</toolchain>
|
|
</toolchains>`;
|
|
|
|
expect(
|
|
toolchains.generateToolchainDefinition(
|
|
'',
|
|
jdkInfo.version,
|
|
jdkInfo.vendor,
|
|
jdkInfo.id,
|
|
jdkInfo.jdkHome
|
|
)
|
|
).toEqual(expectedToolchains);
|
|
}, 100000);
|
|
|
|
it('creates toolchains.xml with correct id when none is supplied', async () => {
|
|
const version = '17';
|
|
const distributionName = 'temurin';
|
|
const id = 'temurin_17';
|
|
const jdkHome =
|
|
'/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.1-12/x64';
|
|
|
|
await toolchains.configureToolchains(
|
|
version,
|
|
distributionName,
|
|
jdkHome,
|
|
undefined
|
|
);
|
|
|
|
expect(fs.existsSync(m2Dir)).toBe(true);
|
|
expect(fs.existsSync(toolchainsFile)).toBe(true);
|
|
expect(fs.readFileSync(toolchainsFile, 'utf-8')).toEqual(
|
|
toolchains.generateToolchainDefinition(
|
|
'',
|
|
version,
|
|
distributionName,
|
|
id,
|
|
jdkHome
|
|
)
|
|
);
|
|
}, 100000);
|
|
});
|