You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
Update sonarExecuteScan.go
This commit is contained in:
committed by
GitHub
parent
8cb1e6a7b6
commit
997ca71929
@@ -98,12 +98,12 @@ func sonarExecuteScan(config sonarExecuteScanOptions, _ *telemetry.CustomData, i
|
||||
javaToolOptions := fmt.Sprintf("-Dhttp.proxyHost=%v -Dhttp.proxyPort=%v", host, port)
|
||||
os.Setenv("JAVA_TOOL_OPTIONS", javaToolOptions)
|
||||
|
||||
apiClient.SetOptions(piperhttp.ClientOptions{TransportProxy: transportProxy, TransportSkipVerification: true})
|
||||
//apiClient.SetOptions(piperhttp.ClientOptions{TransportProxy: transportProxy, TransportSkipVerification: true})
|
||||
log.Entry().Infof("HTTP client instructed to use %v proxy", proxy)
|
||||
|
||||
} else {
|
||||
//TODO: implement certificate handling
|
||||
apiClient.SetOptions(piperhttp.ClientOptions{TransportSkipVerification: true})
|
||||
//apiClient.SetOptions(piperhttp.ClientOptions{TransportSkipVerification: true})
|
||||
}
|
||||
|
||||
sonar = sonarSettings{
|
||||
|
Reference in New Issue
Block a user