We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a3f90 commit f42eb43Copy full SHA for f42eb43
1 file changed
.harness/orgs/PROD/projects/Harness_Split/pipelines/pythonclient.yaml
@@ -79,7 +79,9 @@ pipeline:
79
shell: Sh
80
command: |-
81
# Get SonarQube quality gate status
82
- QUALITY_GATE_STATUS=$(curl -s -u <+secrets.getValue("sonarqube_token")>: \
+ curl -s -u <+secrets.getValue("sonarqube_token")> \
83
+ "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=<+codebase.prNumber>"
84
+ QUALITY_GATE_STATUS=$(curl -s -u <+secrets.getValue("sonarqube_token")> \
85
"https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=<+codebase.prNumber>" \
86
| jq -r '.projectStatus.status')
87
0 commit comments