File tree Expand file tree Collapse file tree
.harness/orgs/PROD/projects/Harness_Split/pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ pipeline:
8080 command : |-
8181 # Get SonarQube quality gate status
8282 curl -s -u <+secrets.getValue("sonarqube_token")> \
83- "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=<+codebase.prNumber>"
83+ "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${ <+codebase.prNumber>} "
8484 QUALITY_GATE_STATUS=$(curl -s -u <+secrets.getValue("sonarqube_token")> \
85- "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=<+codebase.prNumber>" \
85+ "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${ <+codebase.prNumber>} " \
8686 | jq -r '.projectStatus.status')
8787
8888 # Set GitHub status based on quality gate
You can’t perform that action at this time.
0 commit comments