Skip to content

Commit 93182b3

Browse files
committed
set timeout for additional http client
previous PR didn't work, and the stacktrace indicates `org.apache.maven.wagon` is used, so trying to configure that separately...
1 parent 79cf3d9 commit 93182b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ node('ubuntu-ci') {
2323
"MAVEN_HOME=${ tool 'Maven-3.3.9' }",
2424
"PATH+MAVEN=${tool 'Gradle-2.12'}/bin:${env.JAVA_HOME}/bin:${tool 'Ant-1.10.0'}/bin:${tool 'Maven-3.3.9'}/bin",
2525
// publishing to HAR is extremely slow - trying to use a massive 60min timeout
26-
"MAVEN_OPTS=-Dsun.net.client.defaultReadTimeout=3600000 -Dsun.net.client.defaultConnectTimeout=3600000"
26+
"MAVEN_OPTS=-Dsun.net.client.defaultReadTimeout=3600000 -Dsun.net.client.defaultConnectTimeout=3600000 -Dwagon.http.connectionTimeout=3600000 -Dwagon.http.readTimeout=3600000"
2727
]) {
2828
sh "mvn clean test deploy"
2929
}

0 commit comments

Comments
 (0)