Skip to content

Commit 79cf3d9

Browse files
authored
Merge pull request #46 from ShiftLeftSecurity/michael/har-long-long-timeout
publishing to HAR is extremely slow - trying to use a massive 60min timeout
2 parents 865f57c + dd90a73 commit 79cf3d9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Jenkinsfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ node('ubuntu-ci') {
1717
checkout([$class: 'GitSCM', branches: [[name: '*/shiftleft-dev']], doGenerateSubmoduleConfigurations: false, submoduleCfg: [], userRemoteConfigs: [[credentialsId: '4b3482c3-735f-4c31-8d1b-d8d3bd889348', url: "ssh://git@${env.REPO_NAME}"]]])
1818
}
1919
stage('runBuild-Soot') {
20-
withEnv(["JAVA_HOME=${ tool 'JDK8u121' }","ANT_HOME=${ tool 'Ant-1.10.0' }","MAVEN_HOME=${ tool 'Maven-3.3.9' }", "PATH+MAVEN=${tool 'Gradle-2.12'}/bin:${env.JAVA_HOME}/bin:${tool 'Ant-1.10.0'}/bin:${tool 'Maven-3.3.9'}/bin"]) {
20+
withEnv([
21+
"JAVA_HOME=${ tool 'JDK8u121' }",
22+
"ANT_HOME=${ tool 'Ant-1.10.0' }",
23+
"MAVEN_HOME=${ tool 'Maven-3.3.9' }",
24+
"PATH+MAVEN=${tool 'Gradle-2.12'}/bin:${env.JAVA_HOME}/bin:${tool 'Ant-1.10.0'}/bin:${tool 'Maven-3.3.9'}/bin",
25+
// 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"
27+
]) {
2128
sh "mvn clean test deploy"
2229
}
2330
}

0 commit comments

Comments
 (0)