Commit Graph
12 Commits
Author SHA1 Message Date
gryf 9605cb22f0 Implement method /a/changes.
After gerrit recives an action (like creating a review, comment, and so
on) it will send appropriate json from ssh server. Jenkins, which is
listening on the ssh channel will receive this message and do
appropriate action (for example, it will do the build/test whatever),
and sends back notification back to HTTP gerrit server to /a/changes
endpoint. There are couple of requests to that url, which will indicate
what jenkins is doing (like starting build, sending result info).
2019-11-01 08:17:14 +01:00
gryf 283cb787bb Readme update 2019-11-01 08:17:14 +01:00
gryf 05608aa2e0 Use FIFO named queue for triggering actions on Jenkins side. 2019-11-01 08:17:13 +01:00
gryf 802cce3f83 Added new REST endpoints.
Two new endponds added:

- /a/plugins/events-log/events/
- /a/changes
2019-11-01 08:16:43 +01:00
gryf 41b1b284a6 Simplify http server 2019-10-29 19:26:47 +01:00
gryf 7d316947b4 Wait for user interaction on interactive connection 2019-10-29 19:26:47 +01:00
gryf 867a2c4716 Return instead of closing the channel on interactive session. 2019-10-29 19:26:47 +01:00
gryf 84413a1658 Removed interactive ssh part 2019-10-29 19:26:47 +01:00
gryf f3a5e15545 Added log to ignore 2019-10-29 19:26:47 +01:00
gryf 830a8b3077 Added logger 2019-10-29 19:26:45 +01:00
gryf 68ea17b854 Cleaned up code a bit 2019-10-29 19:23:31 +01:00
gryf 778b44292d Initial import 2019-10-24 14:01:49 +02:00