Skip to content

Commit 9babba6

Browse files
committed
Update the lucene snapshot url
Issues: - Driver of this change opensearch-project/opensearch-build#3874 (comment) - Previous change updated the wrong location opensearch-project#11728 Signed-off-by: Peter Nied <petern@amazon.com>
1 parent a0b5198 commit 9babba6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static void configureRepositories(Project project) {
9494
String revision = matcher.group(1);
9595
MavenArtifactRepository luceneRepo = repos.maven(repo -> {
9696
repo.setName("lucene-snapshots");
97-
repo.setUrl("https://artifacts.opensearch.org/snapshots/lucene/");
97+
repo.setUrl("https://ci.opensearch.org/ci/dbc/snapshots/lucene/");
9898
});
9999
repos.exclusiveContent(exclusiveRepo -> {
100100
exclusiveRepo.filter(

gradle/code-coverage.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
gradlePluginPortal()
1414
// TODO: Find the way to use the repositories from RepositoriesSetupPlugin
1515
maven {
16-
url = "https://artifacts.opensearch.org/snapshots/lucene/"
16+
url = "https://ci.opensearch.org/ci/dbc/snapshots/lucene/"
1717
}
1818
}
1919

@@ -37,14 +37,14 @@ tasks.withType(JacocoReport).configureEach {
3737
if (System.getProperty("tests.coverage")) {
3838
reporting {
3939
reports {
40-
testCodeCoverageReport(JacocoCoverageReport) {
40+
testCodeCoverageReport(JacocoCoverageReport) {
4141
testType = TestSuiteType.UNIT_TEST
4242
}
4343
}
4444
}
4545

4646
// Attach code coverage report task to Gradle check task
4747
project.getTasks().named(JavaBasePlugin.CHECK_TASK_NAME).configure {
48-
dependsOn tasks.named('testCodeCoverageReport', JacocoReport)
48+
dependsOn tasks.named('testCodeCoverageReport', JacocoReport)
4949
}
5050
}

0 commit comments

Comments
 (0)