File tree Expand file tree Collapse file tree
.harness/orgs/PROD/projects/Harness_Split/pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,9 +44,10 @@ pipeline:
4444 command : |-
4545 # Get SonarQube quality gate status
4646 curl -u <+secrets.getValue('sonarqube-token')>: \
47- -s "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}"
47+ -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}'
48+
4849 QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube_token')> :\
49- -s " https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}" \
50+ -s ' https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' \
5051 | jq -r '.projectStatus.status')
5152
5253 # Set GitHub status based on quality gate
You can’t perform that action at this time.
0 commit comments