You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/07/24 15:45:08 UTC
[incubator-dlab] 01/02: aaa
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
commit 95a6626096e45e296eaf39b7b58b62dba8df9c9f
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Fri Jul 24 18:43:36 2020 +0300
aaa
---
infrastructure-provisioning/scripts/jenkins/sonar.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/infrastructure-provisioning/scripts/jenkins/sonar.py b/infrastructure-provisioning/scripts/jenkins/sonar.py
index 3b68dd5..d3e4649 100644
--- a/infrastructure-provisioning/scripts/jenkins/sonar.py
+++ b/infrastructure-provisioning/scripts/jenkins/sonar.py
@@ -15,12 +15,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-import requests
-PROJECT_KEY = 'com.epam.dlab%3Adlab'
-TOKEN = 'ca50bcc08f84b90c0324d2e04dcee5f9c5034e67'
-
-response = requests.get('http://localhost:9000/sonar/api/qualitygates/project_status?projectKey=' + PROJECT_KEY,
- auth=(TOKEN, '')).json()
-
-print(response['projectStatus']['status'])
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org