opendevstack / ods-jenkins-shared-library

Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Apache License 2.0
72 stars 57 forks source link

cURL command fix for the sonarqube quality gate report retrieval #1020

Closed gerardcl closed 1 year ago

gerardcl commented 1 year ago

This PR provides a fully functional fix by using flags for URL encoded parameters when using cURL CLI, in this case for the retrieval of the sonarqube quality gate report. Followup bug fix for #1016.

Indeed now we use flags for all attributes in this cURL command, and I would strongly recommend doing that and avoid weird URL encoding bugs, for example.