[build] Fix maven connection timeout issue in azure CI

pull/458/head
Leonard Xu 3 years ago committed by GitHub
parent 004d1768ac
commit c06300ce72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ steps:
- task: Maven@3 - task: Maven@3
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m' mavenOptions: '-Xmx3072m -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120'
javaHomeOption: 'JDKVersion' javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8' jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64' jdkArchitectureOption: 'x64'

Loading…
Cancel
Save