Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.47 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.47 KB

Gitblit Jabber plugin

REQUIRES 1.6.0

The Gitblit Jabber plugin provides integration with Jabber/XMPP servers.

The plugin sends chat message into a room for branch or tag changes changes.

Installation

Build the plugin with ant and copy the zip file to your Gitblit plugins directory.

Setup

At a bare minimum you'll need two settings configured in gitblit.properties.

jabber.domain = jabber.org
jabber.username = gitblit
jabber.password = gitblitXXX
jabber.defaultRoom = [email protected]

There a handful of additional optional settings:

jabber.nickname = Gitblit
jabber.acceptAllCerts = true
jabber.postPersonalRepos = false
jabber.postBranches = true
jabber.postTags = true
jabber.useProjectRooms = false
jabber.projectRoom.<my repositoryname> = [email protected]

jabber.useProjectRooms

jabber.useProjectRooms allows you to have the plugin send messages to different rooms based on repository name.

Usage

Receive Hook

The receive hook is automatic.

SSH Commands (optional)

This plugin also provides a generic mechanism to inject test messages into a chat room. These commands require administrator permissions.

ssh host jabber test

Building against a Gitblit RELEASE

ant && cp build/target/jabber*.zip /path/to/gitblit/plugins

Building against a Gitblit SNAPSHOT

/path/to/dev/gitblit/ant installMoxie
/path/to/dev/jabber/ant && cp build/target/jabber*.zip /path/to/gitblit/plugins