Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(maven): maven central timeouts #30

Merged
merged 1 commit into from
Feb 4, 2021
Merged

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Feb 4, 2021

Increase stagingProgressTimeoutMinutes from the default 5min to 10min since we are seeing quite a lot of timeouts deploying to maven central.

Fixes #29

Increase `stagingProgressTimeoutMinutes` from the default 5min to 10min since we are seeing quite a lot of timeouts deploying to maven central.

Fixes #29
@eladb eladb merged commit cd4a241 into master Feb 4, 2021
@eladb eladb deleted the benisrae/extend-maven-timeout branch February 4, 2021 08:38
mergify bot pushed a commit to cdklabs/aws-delivlib that referenced this pull request Sep 24, 2024
Maven staging often takes longer than the default 5 minutes. Increase to 10.

Currently we are seeing the following error:

```console
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 cdklabs/publib#30

-----

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maven staging timeouts
1 participant