Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f45cdb4

Browse files
authored
Update waiting times for the transition stage (#1756)
Due to the number of artifacts this can take a long time. JAVA-5881
1 parent 70598c5 commit f45cdb4

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

‎.evergreen/publish.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ else
2323
TASK="publishSnapshots"
2424
fi
2525

26-
SYSTEM_PROPERTIES="-Dorg.gradle.internal.publish.checksums.insecure=true -Dorg.gradle.internal.http.connectionTimeout=120000 -Dorg.gradle.internal.http.socketTimeout=120000"
26+
SYSTEM_PROPERTIES="-Dorg.gradle.internal.publish.checksums.insecure=true"
2727

2828
./gradlew -version
2929
./gradlew ${SYSTEM_PROPERTIES} --stacktrace --info ${TASK} # Scala 2.13 is published as result of this gradle execution.

‎build.gradle.kts‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
import java.time.Duration
1617

1718
plugins {
1819
id("eclipse")
@@ -24,15 +25,25 @@ val nexusUsername: Provider<String> = providers.gradleProperty("nexusUsername")
2425
val nexusPassword: Provider<String> = providers.gradleProperty("nexusPassword")
2526

2627
nexusPublishing {
27-
packageGroup="org.mongodb"
28+
packageGroup.set("org.mongodb")
2829
repositories {
2930
sonatype {
30-
username=nexusUsername
31-
password=nexusPassword
31+
username.set(nexusUsername)
32+
password.set(nexusPassword)
3233

3334
// central portal URLs
3435
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
3536
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
3637
}
3738
}
39+
40+
connectTimeout.set(Duration.ofMinutes(5))
41+
clientTimeout.set(Duration.ofMinutes(30))
42+
43+
transitionCheckOptions {
44+
// We have many artifacts and Maven Central can take a long time on its compliance checks.
45+
// Set the timeout for waiting for the repository to close to a comfortable 50 minutes.
46+
maxRetries.set(300)
47+
delayBetween.set(Duration.ofSeconds(10))
48+
}
3849
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /