Skip to content

Commit 94a3f90

Browse files
committed
Update pipeline python-client
1 parent a86d2a9 commit 94a3f90

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,20 @@ pipeline:
4949
echo "Pull Request Analysis"
5050
sonar-scanner -X \
5151
-Dsonar.host.url=https://sonar.harness.io \
52+
-Dsonar.token=<+secrets.getValue('sonarqube-token')> \
5253
-Dsonar.projectKey=python-client \
5354
-Dsonar.scanner.skipJreProvisioning=true \
54-
#-Dsonar.sources=. \
55-
-Dsonar.token=<+secrets.getValue('sonarqube-token')> \
5655
-Dsonar.pullrequest.key=<+codebase.prNumber> \
5756
-Dsonar.pullrequest.branch=<+codebase.sourceBranch> \
5857
-Dsonar.pullrequest.base=<+codebase.targetBranch> \
5958
-Dsonar.scanner.skipSystemTruststore=true
6059
else
6160
echo "Branch Analysis"
6261
sonar-scanner \
63-
-Dsonar.projectKey=python-client \
64-
-Dsonar.scanner.skipJreProvisioning=true \
65-
#-Dsonar.sources=. \
6662
-Dsonar.host.url=https://sonar.harness.io \
6763
-Dsonar.token=<+secrets.getValue('sonarqube-token')> \
64+
-Dsonar.projectKey=python-client \
65+
-Dsonar.scanner.skipJreProvisioning=true \
6866
-Dsonar.branch.name=<+codebase.branch> \
6967
-Dsonar.scanner.skipSystemTruststore=true
7068
fi

0 commit comments

Comments
 (0)