This jenkins plugin sends Eiffel events to a Message Queue. For now, only RabbitMQ is supported. The plugin can be extended with more events and or more data but the required data is there. In addition to jobs, artifacts are represented in eiffel, these are the artifacts saved in the "Archive the artifacts" post build action. A detailed list of event representations can be found in the table below.
Read more about the Eiffel protocol on https://github.com/eiffel-community/eiffel
Jenkins Event | Eiffel Event |
---|---|
Job Queued | EiffelActivityTriggeredEvent |
Job Dequeued (canceled) | EiffelActivityCanceledEvent |
Job Starts | EiffelActivityStartedEvent |
Job Finishes | EiffelActivityFinishedEvent |
Job Successful | EiffelActivityFinishedEvent |
Job unstable | EiffelActivityFinishedEvent |
Job failed | EiffelActivityFinishedEvent |
Job Aborted | EiffelActivityFinishedEvent |
job Artifact Saved | EiffelArtifactCreatedEvent |
- EiffelArtifactPublishedEvent is not sent by this plugin.
- Current versions of each event can be found in the getVersion() function in the sourcecode.
In the EiffelBroadcaster root folder, use maven to compile.
$ mvn compile
In the EiffelBroadcaster root folder, use maven to build the .hpi file.
$ mvn hpi:hpi
- In the jenkins web interface go to: Manage Jenkins -> Plugin Manager -> Advanced
- At "Upload Plugin", Browse to the .hpi file located in the EiffelBroadcaster/target directory and press "Upload"
The plugin should install without the need to reboot jenkins.
- EiffelActivityTriggeredEvent
- EiffelActivityStartedEvent
- EiffelActivityFinishedEvent
- EiffelActivityCanceledEvent
- EiffelArtifactCreatedEvent
This plugin is part of the Eiffel Community
- Isac Holm
The MIT License
Copyright 2018 Axis Communications AB.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
==============