Skip to content

Commit fa18fab

Browse files
committed
Update pipeline python-client
1 parent d7485ed commit fa18fab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)