Skip to content

Commit 37e36e4

Browse files
committed
Update pipeline python-client
1 parent d3b27ff commit 37e36e4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.harness/orgs/PROD/projects/Harness_Split/pipelines/pythonclient.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ pipeline:
4343
shell: Sh
4444
command: |-
4545
# 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)
46+
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)
4947
5048
echo "QUALITY_GATE_STATUS: $QUALITY_GATE_STATUS"
5149
# Set GitHub status based on quality gate

0 commit comments

Comments
 (0)