def zeromq_event(registry, xml_parent, data):
 zmq_event = XML.SubElement(xml_parent, 'org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty')
 XML.SubElement(zmq_event, 'enabled').text = 'true'

def zeromq_event ( registry , xml_parent , data ) : zmq_event = XML . SubElement ( xml_parent , 'org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty' ) XML . SubElement ( zmq_event , 'enabled' ) . text = 'true'
yaml: zeromq-event this is a jenkins plugin that will publish jenkins job run events to a zmq pub socket .