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 @@ -46,9 +46,9 @@ pipeline:
4646 curl -u <+secrets.getValue('sonarqube-token')>: \
4747 -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}'
4848
49- QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube_token')> :\
50- -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' \
51- | jq -r '.projectStatus.status')
49+ QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue(\ 'sonarqube_token\ ')> :\
50+ -s \ 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}\ ' \
51+ | jq -r \ '.projectStatus.status\ ')
5252
5353 # Set GitHub status based on quality gate
5454 if [ "$QUALITY_GATE_STATUS" = "OK" ]; then
You can’t perform that action at this time.
0 commit comments