SAP / jenkins-library

Jenkins shared library for Continuous Delivery pipelines.
https://www.project-piper.io
Apache License 2.0
779 stars 588 forks source link

support trustedCerts for cloneGitRepo #4909

Closed tiloKo closed 4 months ago

tiloKo commented 5 months ago

Changes

New Parameter CetificateNames which support hand over of one or more certificates stored in config repo. Parameter is passed to httpClient to trust those systems when opening TLS sessions (otherwise you get error "tls: failed to verify certificate: x509: certificate signed by unknown authority"

tiloKo commented 4 months ago

false warning like this: 10:21:13 warn abapEnvironmentCloneGitRepo - config value provided forcertificateNames is of wrong type[]interface {}should be of type[]string is now also gone (enhancement in pkg/config/config.go) (technically the warning is not wrong as the types differ but thats more an curiosity of golang json.Unmarshal than wrong value maintained in the metadata step.yaml)

tiloKo commented 4 months ago

/it

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud