commit | 8aa40f9f42dadbd510463054fb979af884ce1aec | [log] [tgz] |
---|---|---|
author | Gustaf Lundh <gustaf.lundh@sonymobile.com> | Wed Nov 19 17:05:42 2014 +0100 |
committer | Gustaf Lundh <gustaf.lundh@sonymobile.com> | Fri Nov 21 17:03:09 2014 +0100 |
tree | 41431d744cd4755b17831da15ccffd65b7a641db | |
parent | 1ad2d7fe38194e776a476cd21a5ac7db89413dd9 [diff] |
Allow event filter based on an existing user If you specify the following in rabbitmq.config: [security] authUser = jenkins_verifier It will filter out all events that is not visible for that Gerrit-user. In this case "jenkins_verifier". Change-Id: I28411ca3795badcbf9ff5fe95039e8f84c590055
This is Gerrit plugin.
This can publish gerrit events to message queue provided by RabbitMQ. Published events are the same as Gerrit stream evnets.
This plugin works on Gerrit 2.8 or later.
linux
java-1.7
gradle
To build plugin with gradle.
./gradlew build
Now avaliable for Gerrit 2.8.5 only. If you want to use it on another version of Gerrit, please try the below.
./gradlew build -PapiVersion=2.8
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
1.4
1.3
1.2
1.1
monitor.failureCount
1.0
The Apache Software License, Version 2.0
Copyright (c) 2013 rinrinne a.k.a. rin_ne