aboutsummaryrefslogtreecommitdiff
path: root/buildbot-client.el
diff options
context:
space:
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)))