Skip to content

Commit

Permalink
fix(maven): maven central timeouts (#30)
Browse files Browse the repository at this point in the history
Increase `stagingProgressTimeoutMinutes` from the default 5min to 10min since we are seeing quite a lot of timeouts deploying to maven central.

Fixes #29
  • Loading branch information
Elad Ben-Israel authored Feb 4, 2021
1 parent 6543689 commit cd4a241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/jsii-release-maven
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ deploy_central() {
-DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org} \
-DserverId=${server_id} \
-DautoReleaseAfterClose=true \
-DstagingProgressTimeoutMinutes=10 \
-DstagingProfileId=${MAVEN_STAGING_PROFILE_ID} | tee ${staging_output}

# we need to consule PIPESTATUS sinec "tee" is the last command
Expand Down Expand Up @@ -251,6 +252,7 @@ HERE
-DserverId=${server_id} \
-DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org} \
-DstagingProfileId=${MAVEN_STAGING_PROFILE_ID} \
-DstagingProgressTimeoutMinutes=10 \
-DstagingRepositoryId=${repository_id} | tee ${release_output}

# If release failed, check if this was caused because we are trying to publish
Expand Down

0 comments on commit cd4a241

Please sign in to comment.