Skip to content

Commit f4970ef

Browse files
authored
Merge pull request #47 from ShiftLeftSecurity/michael/har-long-long-timeout2
set timeout for additional http client
2 parents 79cf3d9 + 93182b3 commit f4970ef

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)