1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

resolves #50: badge url

Implements serving of an SVG badge at the url /badge/JOB.svg which
prettily shows the job's current status
This commit is contained in:
Oliver Giles
2018-09-10 14:51:43 +03:00
parent ab7be5a6c9
commit 132d40e6a3
6 changed files with 67 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ public:
MOCK_METHOD1(sendStatus, void(LaminarClient* client));
MOCK_METHOD4(setParam, bool(std::string job, uint buildNum, std::string param, std::string value));
MOCK_METHOD0(getCustomCss, std::string());
MOCK_METHOD2(handleBadgeRequest, bool(std::string, std::string&));
MOCK_METHOD0(abortAll, void());
MOCK_METHOD0(notifyConfigChanged, void());
};