From d33f68a3cad04fa92ea225026affb2c030452299 Mon Sep 17 00:00:00 2001 From: Violeta Sebe Date: Wed, 4 Dec 2019 12:17:34 -0500 Subject: [PATCH] Add AdoptOpenJDK/openjdk-tests repository to git repository cache Update test nodes git cache with AdoptOpenJDK/openjdk-tests repository. [ci skip] Signed-off-by: Violeta Sebe --- .../jobs/infrastructure/Update-Reference-Repos.groovy | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildenv/jenkins/jobs/infrastructure/Update-Reference-Repos.groovy b/buildenv/jenkins/jobs/infrastructure/Update-Reference-Repos.groovy index ba323278731..ef70b288f86 100644 --- a/buildenv/jenkins/jobs/infrastructure/Update-Reference-Repos.groovy +++ b/buildenv/jenkins/jobs/infrastructure/Update-Reference-Repos.groovy @@ -134,6 +134,12 @@ timeout(time: 6, unit: 'HOURS') { // get Eclipse OpenJ9 extensions repositories from variables file def repos = get_openjdk_repos(VARIABLES.openjdk, foundLabel) + + if (nodeLabels.contains('ci.role.test')) { + // add AdoptOpenJDK/openjdk-tests repository + repos.add([name: "adoptopenjdk", url: VARIABLES.adoptopenjdk.default.get('repoUrl')]) + } + if (jenkins.model.Jenkins.instance.getLabel(SETUP_LABEL).getNodes().contains(aNode)) { // add OpenJ9 repo repos.addAll(EXTENSIONS_REPOS)