Skip to content

Commit

Permalink
Add AdoptOpenJDK/openjdk-tests repository to git repository cache
Browse files Browse the repository at this point in the history
Update test nodes git cache with AdoptOpenJDK/openjdk-tests repository.

[ci skip]

Signed-off-by: Violeta Sebe <[email protected]>
  • Loading branch information
vsebe committed Dec 4, 2019
1 parent f12324a commit d33f68a
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 d33f68a

Please sign in to comment.