This is an automated email from the ASF dual-hosted git repository.
ofuks pushed a commit to branch sonar
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/sonar by this push:
new 4f8b5dd Updated sonar.py
4f8b5dd is described below
commit 4f8b5dda9bb66823a84d9cb3d7892998610ddb6c
Author: Oleh Fuks <[email protected]>
AuthorDate: Fri Jul 24 18:29:47 2020 +0300
Updated sonar.py
---
infrastructure-provisioning/scripts/jenkins/sonar.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/scripts/jenkins/sonar.py
b/infrastructure-provisioning/scripts/jenkins/sonar.py
index dc2c445..3b68dd5 100644
--- a/infrastructure-provisioning/scripts/jenkins/sonar.py
+++ b/infrastructure-provisioning/scripts/jenkins/sonar.py
@@ -23,4 +23,4 @@ TOKEN = 'ca50bcc08f84b90c0324d2e04dcee5f9c5034e67'
response =
requests.get('http://localhost:9000/sonar/api/qualitygates/project_status?projectKey='
+ PROJECT_KEY,
auth=(TOKEN, '')).json()
-print('SUCCESS', response['projectStatus']['status'])
+print(response['projectStatus']['status'])
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]