diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-26 23:43:23 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-26 23:43:23 +1000 |
commit | 189ef86ba5f5ba18cfc7a41684b797b75251cd22 (patch) | |
tree | b5ee88e50b3b0b26fdd1d1647332d82dbc0cd21e /buildbot-view.el | |
parent | cc9ae2bb821e00155827e91a8d9303e9b3da59bd (diff) |
add url formatting for builder viewurl
Diffstat (limited to 'buildbot-view.el')
-rw-r--r-- | buildbot-view.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildbot-view.el b/buildbot-view.el index e31d6e5..09776a3 100644 --- a/buildbot-view.el +++ b/buildbot-view.el @@ -380,6 +380,11 @@ otherwise pass the value from the current buffer." buildbot-host (alist-get 'builderid build) (alist-get 'number build)))) + ('builder + (format "%s/#/builders/%d" + buildbot-host + (alist-get 'builderid + (alist-get 'builder buildbot-view-data)))) (_ (error "Unsupported type for formatting url: %s" buildbot-view-type)))) |