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 14:36:46 UTC

[incubator-dlab] branch sonar updated: Updated sonar.py

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 5335dc7  Updated sonar.py
5335dc7 is described below

commit 5335dc794a32755e3fafacac593973b486c535c7
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Fri Jul 24 17:36:33 2020 +0300

    Updated sonar.py
---
 infrastructure-provisioning/scripts/jenkins/sonar.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/scripts/jenkins/sonar.py b/infrastructure-provisioning/scripts/jenkins/sonar.py
index 06491ac..be40759 100644
--- a/infrastructure-provisioning/scripts/jenkins/sonar.py
+++ b/infrastructure-provisioning/scripts/jenkins/sonar.py
@@ -15,5 +15,8 @@
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
+import requests
 
-print('SUCCESS');
+r = requests.get('https://xkcd.com/1906/')
+
+print('SUCCESS', r.status_code)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org