diff --git a/lib/publishing/maven/publish-mvn.sh b/lib/publishing/maven/publish-mvn.sh index 99a0c395e..404bb5aca 100644 --- a/lib/publishing/maven/publish-mvn.sh +++ b/lib/publishing/maven/publish-mvn.sh @@ -116,6 +116,7 @@ $mvn --settings=${mvn_settings} -DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org} \ -DserverId=ossrh \ -DautoReleaseAfterClose=true \ + -DstagingProgressTimeoutMinutes=10 \ -DstagingProfileId=${STAGING_PROFILE_ID} | tee ${staging_output} # we need to consule PIPESTATUS sinec "tee" is the last command