RETIRED, Jenkins plugin to publish build events via ZMQ PUB SUB.
fa543daa00
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. |
||
---|---|---|
src/main | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
pom.xml | ||
README | ||
run-fast |
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