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

[incubator-kie-issues-1444-weekly] drools.weekly-deploy jobs frequent… #6056

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/jenkins/Jenkinsfile.weekly.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pipeline {
def installOrDeploy
if (shouldDeployToRepository()) {
installOrDeploy = "deploy -DdeployAtEnd -Dapache.repository.username=${REPOSITORY_USER} -Dapache.repository.password=${REPOSITORY_TOKEN} -DretryFailedDeploymentCount=5" +
" -Dhttp.socket.timeout=300000 -Dhttp.connection.timeout=300000"
" -Daether.connector.basic.parallelPut=false"
Copy link
Contributor Author

@tkobayas tkobayas Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I wrote in apache/incubator-kie-issues#1444 (comment) , http.socket.timeout and http.connection.timeout don't seem to be effective.

"Request Timeout (408)" is generally caused by a slow client request. While testing locally, I found that maven 3.9.6 (= maven-resolver-1.9.18) uses 5 threads for parallel uploading by default. aether.connector.basic.parallelPut=false makes uploading sequential with single thread. I hope that it makes uploading stable. The entire job may take longer time, but I think it's worth trying.

https://maven.apache.org/components/resolver-archives/resolver-1.9.18/configuration.html

} else {
installOrDeploy = 'install'
}
Expand Down
Loading