aboutsummaryrefslogtreecommitdiff
path: root/buildbot-client.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2023-03-23 09:21:56 +1100
committerYuchen Pei <hi@ypei.me>2023-03-23 09:21:56 +1100
commit7cc017ccc12921e38d0ace50400e096a4f6ddd2b (patch)
treed0d39a1cce41f0ea3aab077d0aa6b79f95bb0c12 /buildbot-client.el
parentf9792cdcfab9b2728b3db8152e62e119b135b7ac (diff)
added buildbot build mode
Diffstat (limited to 'buildbot-client.el')
-rw-r--r--buildbot-client.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildbot-client.el b/buildbot-client.el
index 1bb8310..afc1a69 100644
--- a/buildbot-client.el
+++ b/buildbot-client.el
@@ -55,6 +55,9 @@
(buildbot-api-change (list (cons 'revision revision))))
0))
+(defun buildbot-get-build-by-buildid (buildid)
+ (buildbot-api-build (list (cons 'buildid buildid))))
+
(defun buildbot-get-builds-by-revision (revision)
(alist-get 'builds (buildbot-get-change-by-revision revision)))