@@ -47,8 +47,7 @@ buildscript {
4747
4848 repositories {
4949 mavenLocal()
50- maven { url " https://central.sonatype.com/repository/maven-snapshots/" }
51- maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" }
50+ maven { url " https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
5251 mavenCentral()
5352 maven { url " https://plugins.gradle.org/m2/" }
5453 }
@@ -117,10 +116,11 @@ publishing {
117116 repositories {
118117 maven {
119118 name = " Snapshots" // optional target repository name
120- url = " https://central.sonatype.com/repository/maven-snapshots/"
121- credentials {
122- username System . getenv(" SONATYPE_USERNAME" )
123- password System . getenv(" SONATYPE_PASSWORD" )
119+ url = System . getenv(" MAVEN_SNAPSHOTS_S3_REPO" )
120+ credentials(AwsCredentials ) {
121+ accessKey = System . getenv(" AWS_ACCESS_KEY_ID" )
122+ secretKey = System . getenv(" AWS_SECRET_ACCESS_KEY" )
123+ sessionToken = System . getenv(" AWS_SESSION_TOKEN" )
124124 }
125125 }
126126 }
@@ -203,8 +203,7 @@ allprojects {
203203
204204repositories {
205205 mavenLocal()
206- maven { url " https://central.sonatype.com/repository/maven-snapshots/" }
207- maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" }
206+ maven { url " https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
208207 mavenCentral()
209208 maven { url " https://plugins.gradle.org/m2/" }
210209}
@@ -493,7 +492,7 @@ ext.resolvePluginFile = { pluginId ->
493492def securityPluginFile = resolvePluginFile(" opensearch-security" )
494493
495494testClusters. integTest {
496- testDistribution = " INTEG_TEST "
495+ testDistribution = " ARCHIVE "
497496 // need to install job-scheduler first, need to assemble job-scheduler first
498497 plugin(provider(new Callable<RegularFile > (){
499498 @Override
0 commit comments