cdklabs / aws-delivlib

setup and manage continuous delivery pipelines for code libraries in multiple languages
Apache License 2.0
375 stars 35 forks source link

fix: maven staging timeout #1737

Closed iliapolo closed 4 weeks ago

iliapolo commented 4 weeks ago

Maven staging often takes longer than the default 5 minutes. Increase to 10.

Currently we are seeing the following error:

Waiting for operation to complete...
....................................................................................................
[WARNING] TIMEOUT after 302.4 s
[ERROR] Rule failure while trying to close staging repository with ID "softwareamazon-7956".
[ERROR] 
[ERROR] Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR] 
[ERROR] 
[ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: []
[ERROR]  * Deleting context 4714fd1f794.properties
[ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: []
[ERROR]  * Dropping failed staging repository with ID "softwareamazon-7956" (Rule failure during close of staging repositories: []).

Side note

We already implemented this change years ago in publib, we should really switch over to publib.

See https://github.com/cdklabs/publib/pull/30


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.