You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by ch...@apache.org on 2023/01/17 22:28:07 UTC

[kibble-scanners] branch christ/buildbot_scanner created (now 5fa43a8)

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

christ pushed a change to branch christ/buildbot_scanner
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git


      at 5fa43a8  updating buildbot api url

This branch includes the following new commits:

     new 5fa43a8  updating buildbot api url

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[kibble-scanners] 01/01: updating buildbot api url

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5fa43a869250dda79852f57947a14669afcab735
Author: Chris Thistlethwaite <ch...@apache.org>
AuthorDate: Tue Jan 17 17:27:44 2023 -0500

    updating buildbot api url
---
 src/plugins/scanners/buildbot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/scanners/buildbot.py b/src/plugins/scanners/buildbot.py
index 607d0be..b99f5bf 100644
--- a/src/plugins/scanners/buildbot.py
+++ b/src/plugins/scanners/buildbot.py
@@ -48,7 +48,7 @@ def scanJob(KibbleBit, source, job, creds):
     parseIt = False
     found = KibbleBit.exists('cijob', dhash)
     
-    jobURL = "%s/json/builders/%s/builds/_all" % (source['sourceURL'], job)
+    jobURL = "%s/api/v2/builders/%s/builds" % (source['sourceURL'], job)
     KibbleBit.pprint(jobURL)
     jobjson = plugins.utils.jsonapi.get(jobURL, auth = creds)
     
@@ -186,7 +186,7 @@ def scan(KibbleBit, source):
         # Get the job list
         sURL = source['sourceURL']
         KibbleBit.pprint("Getting job list...")
-        builders = plugins.utils.jsonapi.get("%s/json/builders" % sURL , auth = creds)
+        builders = plugins.utils.jsonapi.get("%s/api/v2/builders" % sURL , auth = creds)
         
         # Save queue snapshot
         NOW = int(datetime.datetime.utcnow().timestamp())