This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git


The following commit(s) were added to refs/heads/master by this push:
     new a337953  the job URL needs to be consistent, tweak it
a337953 is described below

commit a337953fda97110f653e61421a8f29a10a716861
Author: Daniel Gruno <humbed...@apache.org>
AuthorDate: Wed Feb 21 19:37:45 2018 +0100

    the job URL needs to be consistent, tweak it
---
 src/plugins/scanners/travis.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/scanners/travis.py b/src/plugins/scanners/travis.py
index d6de24d..b8e1532 100644
--- a/src/plugins/scanners/travis.py
+++ b/src/plugins/scanners/travis.py
@@ -52,6 +52,7 @@ def scanJob(KibbleBit, source, bid, token, TLD):
     pages = 0
     offset = 0
     last_page = False
+    oURL = "https://api.travis-ci.%s/repo/%s/builds"; % (TLD, bid)
     
     # For as long as pagination makes sense...
     while last_page == False:
@@ -125,7 +126,7 @@ def scanJob(KibbleBit, source, bid, token, TLD):
                     'completed': completed,
                     'duration': duration * 1000,
                     'job': buildProject,
-                    'jobURL': bURL,
+                    'jobURL': oURL,
                     'status': status,
                     'started': STA,
                     'ci': 'travis',

-- 
To stop receiving notification emails like this one, please contact
humbed...@apache.org.

Reply via email to