Skip to content

Commit

Permalink
Merge pull request #7962 from vsebe/openj9
Browse files Browse the repository at this point in the history
Add AdoptOpenJDK/openjdk-tests repository to git repository cache
  • Loading branch information
pshipton authored Dec 4, 2019
2 parents f12324a + d33f68a commit 9d2b322
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d2b322

Please sign in to comment.