We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa18fab commit 491b036Copy full SHA for 491b036
1 file changed
.harness/orgs/PROD/projects/Harness_Split/pipelines/pythonclient.yaml
@@ -48,7 +48,7 @@ pipeline:
48
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\')
+ | jq -r .projectStatus.status)
52
53
# Set GitHub status based on quality gate
54
if [ "$QUALITY_GATE_STATUS" = "OK" ]; then
@@ -61,7 +61,7 @@ pipeline:
61
62
# Post status to GitHub
63
curl -X POST \
64
- -H "Authorization: token <+secrets.getValue("github_token")>" \
+ -H "Authorization: token <+secrets.getValue('github_token')>" \
65
-H "Content-Type: application/json" \
66
-d "{
67
\"state\": \"$STATE\",
0 commit comments