Skip to content

Commit 1436761

Browse files
giozziagiozzia
authored andcommitted
Update February 27th 2017.
1 parent 244d2b9 commit 1436761

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,35 @@ A Jenkins post-build action plugin to publish build jobs execution data to Kafka
99
[Kafka](http://kafka.apache.org/) is an Open Source message broker written in [Scala](http://www.scala-lang.org/) and currently maintained by the [Apache Software Foundation](http://www.apache.org/). It is fast, scalable, and has a modern cluster-centric design aimed to provide strong durability and fault-tolerance guarantees.
1010

1111
### Features
12-
This plugin publishes the build jobs execution details in JSON format to a Kafka topic. In the latest release the general info about a build job, details about the host (master or slave) where a build job has been executed and the full set of parameters values for a given execution are collected. Future releases will collect also all of the details about each single build step.
12+
This plugin publishes the build jobs execution details in JSON format to a Kafka topic. In the latest release the general info about a build job, details about the host (master or slave) where a build job has been executed and the full set of parameters values for a given execution are collected. Future releases will collect also all of the details about each single build step. Here's an example of the current JSON message content sent to a topic:
13+
14+
```json
15+
{
16+
"buildNumber":1,
17+
"name":"KafkaTest",
18+
"startDate":{
19+
"date":27,"day":1,"hours":9,"minutes":36,"month":1,"seconds":52,
20+
"time":1488188212126,"timezoneOffset":0,"year":117
21+
},
22+
"endDate":{
23+
"date":27,"day":1,"hours":9,"minutes":36,"month":1,"seconds":53,
24+
"time":1488188213394,"timezoneOffset":0,"year":117
25+
},
26+
"duration":1268,
27+
"result":"SUCCESS",
28+
"nodeName":"master",
29+
"computerName":"XXXXXXXX",
30+
"nodeDetails":{
31+
"nodeLabels":"master",
32+
"OS":"Windows_NT",
33+
"numberOfProcessors":"4",
34+
"processorArchitecture":"x86",
35+
"processorArchitectureW6432":
36+
"AMD64","processorIdentifier":"Intel64 Family 6 Model 78 Stepping 3, GenuineIntel",
37+
"computerName":"XXXXXXXX"
38+
}
39+
```
40+
1341
After publishing them to the destination topic they can then be consumed by other systems in order to generate stats and/or perform analytics upon them.
1442
At the moment just a small set of parameters can be configured for the underlying Kafka producer. Future releases will allow a more advanced configuration.
1543

0 commit comments

Comments
 (0)