aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build/report-build-errors.lua
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-02 10:43:16 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-02 10:43:43 +0200
commit090e41a60589a67c809fff2e23d3e8ac0c102ce5 (patch)
tree0eeaabd716f2c5cee6b2a365dd02e9cf80fcf647 /main/aports-build/report-build-errors.lua
parent41f632abc029e741edd2c08218cd4aeb87b235e9 (diff)
downloadaports-090e41a60589a67c809fff2e23d3e8ac0c102ce5.tar.bz2
aports-090e41a60589a67c809fff2e23d3e8ac0c102ce5.tar.xz
main/aports-build: also publish hostname with build error
Diffstat (limited to 'main/aports-build/report-build-errors.lua')
-rw-r--r--main/aports-build/report-build-errors.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/aports-build/report-build-errors.lua b/main/aports-build/report-build-errors.lua
index ee26b00979..3145b15993 100644
--- a/main/aports-build/report-build-errors.lua
+++ b/main/aports-build/report-build-errors.lua
@@ -15,6 +15,7 @@ function m.postbuild(aport, success, repodest, arch, logfile)
local topic = ("build/%s/errors"):format(hostname)
local payload = json.encode{
pkgname = aport.pkgname,
+ hostname = hostname,
logurl = ("%s/%s/%s-%s-r%s.log"):format(
urlprefix,
(string.match(aport.dir,"[^/]+/[^/]+$")),