svnpubsub as build server trigger - Jenkins
From: Thomas Åkesson <thomas.akesson_at_pdsvision.se>
Date: Sun, 4 Dec 2016 13:30:42 +0100
I have been looking into svnpubsub for a couple of use cases in our XML Authoring CMS (based on Subversion). Both use cases involve Java as client to svnpubsub.
Has anyone considered developing a Jenkins Build Trigger plugin that connects to svnpubsub? Seems like the ideal way of avoiding the polling without the overhead of individual hooks.
There are a couple of similar plugins to Jenkins. One uses XMPP (looks difficult to adapt to svnpubsub) and one uses AWS SQS.
I have experimented with teaching svnpubsub the Server Side Events format with the objective to use an existing Java library (e.g. jersey) to observe those events with just a few lines of code. The intention is to make svnpubsub select format based on client accept header.
The output would be approximately:
< HTTP/1.1 200 OK
The next step is to verify that an existing Java library can be used to observe these events.
Anyone interested in co-developing a Jenkins Build Trigger plugin? How is ASF infra managing build triggers?
This is an archived mail posted to the Subversion Dev mailing list.