Skip to content

Commit 491b036

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pipeline:
4848
4949
QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue(\'sonarqube_token\')> :\
5050
-s \'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}\' \
51-
| jq -r \'.projectStatus.status\')
51+
| jq -r .projectStatus.status)
5252
5353
# Set GitHub status based on quality gate
5454
if [ "$QUALITY_GATE_STATUS" = "OK" ]; then
@@ -61,7 +61,7 @@ pipeline:
6161
6262
# Post status to GitHub
6363
curl -X POST \
64-
-H "Authorization: token <+secrets.getValue("github_token")>" \
64+
-H "Authorization: token <+secrets.getValue('github_token')>" \
6565
-H "Content-Type: application/json" \
6666
-d "{
6767
\"state\": \"$STATE\",

0 commit comments

Comments
 (0)