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 @@ -43,12 +43,12 @@ pipeline:
4343 shell : Sh
4444 command : |-
4545 # Get SonarQube quality gate status
46- curl -u <+secrets.getValue('sonarqube_token ')>: \
46+ curl -u <+secrets.getValue('sonarqube-token ')>: \
4747 -s "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}"
4848
49- curl -u <+secrets.getValue('sonarqube_token ')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status
49+ curl -u <+secrets.getValue('sonarqube-token ')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status
5050
51- QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube_token ')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status)
51+ QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube-token ')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status)
5252
5353 echo "QUALITY_GATE_STATUS: $QUALITY_GATE_STATUS"
5454
You can’t perform that action at this time.
0 commit comments