OSLC CM Plugin

Skip to end of metadata
Go to start of metadata

Connects to different remote bug trackers via the OSLC protocol

Plugin Information

Plugin ID oslc-cm Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.31
Jul 22, 2011
1.398
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Madhumita DHAR (id: mdhar)
Usage Installations 2013-Apr 12
2013-May 12
2013-Jun 13
2013-Jul 14
2013-Aug 15
2013-Sep 13
2013-Oct 17
2013-Nov 14
2013-Dec 12
2014-Jan 12
2014-Feb 12
2014-Mar 12

Code

The source code is at https://github.com/jenkinsci/oslc-cm-plugin

Configuration

The plugin uses OAuth as mode of authentification. Jenkins thus has to be registered as an OAuth consumer with the concerned bug-tracker. The corresponding Customer key and secret are to be entered in the Global Configuration page as below:

With the above, we can now request an access token and secret from the bugtracker. A sample script which does so, is available here.  The token and secret are to be entered in the configuration page for the corresponding job.

Bug Creation

This can be done in two ways.

Automatic Creation

On each build failure (depending on the preferences chosen by the user), the plugin does an HTTP POST to the URL specified (as in the screenshot above) on the job configuration page.

The content of the POST request is in json and is configurable.

Clicking on 'Add' opens up textboxes, where the name/value pair of all attributes of the bug report can be added, separated by a '::' sign, as shown below. Quotes are not allowed in the textboxes.

If no attributes are specified, the content of the bug report will be as follows (in json):

{
    "dcterms:title":"Hudson Build Failure",
    "dcterms:description":"<Link to the Build Failure page>",
    "oslc_cm:status":"Open",
    "helios_bt:priority":"3",
    "helios_bt:assigned_to":"Nobody"
}

Manual Creation (Delegated Creation)

This creates a link on the build page which takes us to an embedded iframe containing the content of the url specified (as in the screenshot above) on the job configuration page.

To be done: Support for creating links to newly-created bugs.

See also : a screencast of a demo made with FusionForge trackers : http://vimeo.com/23480321

Labels

Edit
plugin-notifier plugin-notifier Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.