Jenkins plugin to publish build events via ZMQ PUB SUB.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James E. Blair 36ca349ad1 Include the node name 5 years ago
src/main Include the node name 5 years ago
.gitignore Initial proof of concept for zmq event publisher. 6 years ago
.gitreview add a gitreview file 5 years ago
LICENSE Initial proof of concept for zmq event publisher. 6 years ago
README Use single thread to perform all zmq sends. 6 years ago
pom.xml setup a parameter for the plugin version 5 years ago
run-fast Initial proof of concept for zmq event publisher. 6 years ago

README

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.