We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b27ff commit 37e36e4Copy full SHA for 37e36e4
1 file changed
.harness/orgs/PROD/projects/Harness_Split/pipelines/pythonclient.yaml
@@ -43,9 +43,7 @@ pipeline:
43
shell: Sh
44
command: |-
45
# Get SonarQube quality gate status
46
- QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube_token')> :\
47
- -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' \
48
- | jq -r .projectStatus.status)
+ 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)
49
50
echo "QUALITY_GATE_STATUS: $QUALITY_GATE_STATUS"
51
# Set GitHub status based on quality gate
0 commit comments