RETIRED, Jenkins plugin to publish build events via ZMQ PUB SUB.
Go to file
Ian Wienand 54759994c6 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie0344a5bd22f459f7ef3c90678e5e0ff31a93972
2019-03-24 20:36:29 +00:00
src/main Add node description to event data 2016-04-13 17:24:01 -07:00
.gitignore Initial proof of concept for zmq event publisher. 2013-01-23 10:40:09 -08:00
.gitreview add a gitreview file 2013-07-24 15:39:47 -07:00
LICENSE Initial proof of concept for zmq event publisher. 2013-01-23 10:40:09 -08:00
pom.xml Update links in pom.xml 2016-02-17 16:40:30 -08:00
README Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:29 +00:00
run-fast Initial proof of concept for zmq event publisher. 2013-01-23 10:40:09 -08:00

This is a Jenkins plugin that will publish Jenkins Job run events
(start, complete, finish) to a ZMQ PUB socket. By default the PUB
socket is on TCP port 8888 and no Job events will be published.
You can choose to enable event publishing for all jobs in the
Jenkins' global config or enable the plugin on a per job basis.

This plugin uses jeromq to satisfy the dependency on ZMQ. It is
possible to use jzmq instead if you need the features that jeromq
is lacking; however, it is a pain to get jzmq built and is less
portable. If you really really want jzmq look back in the git
history and you will find the old versions of this plugin that
depended on jzmq.

TODO:
- Avoid reading in the global config for each event if possible.
- Need to allow ZMQRunnable thread to die if something truly
  unexpected happens. The RunListener should then start a new
  DaemonThread to handle further events.
- Cleanup config.jelly for the non global Job config.

This plugin borrows heavily from the Jenkins Notification Plugin
https://github.com/jenkinsci/notification-plugin. That plugin
does much of the same work and where applicable I have gone the
easy route and copied the work they have done.

Contributing
------------

To browse the latest code, see:
https://git.openstack.org/cgit/openstack-infra/zmq-event-publisher/tree/
To clone the latest code, use
`git clone https://git.openstack.org/openstack-infra/zmq-event-publisher`

Bugs are handled at: https://storyboard.openstack.org/#!/project/750

Code reviews are handled by gerrit. The gerrit in
use is http://review.openstack.org

Use `git review` to submit patches (after creating a gerrit account that
links to your launchpad account). Example::

    # Do your commits
    $ git review
    # Enter your username if prompted