Mantis Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID mantis Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.26 (archives)
Feb 16, 2015
1.580.3
mercurial (version:1.38, optional)
cvs (version:2.0, optional)
matrix-project (version:1.4)
subversion (version:1.34, optional)
maven-plugin (version:2.8)
git (version:1.1.16, optional)
junit (version:1.4)
Source Code
Issue Tracking
Pull Requests
Maintainer(s)
GitHub
Open Issues
Pull Requests
Seiji Sogabe (id: sogabe)
Usage Installations 2014-Jun 632
2014-Jul 639
2014-Aug 626
2014-Sep 637
2014-Oct 646
2014-Nov 636
2014-Dec 621
2015-Jan 631
2015-Feb 641
2015-Mar 630
2015-Apr 653
2015-May 643

Mantis Plugin


This plugin integrates Mantis Bug Tracker to Jenkins. Mantis is a free popular web-based bugtracking system written in PHP scripting language.
This plugin decorates Hudson "Changes" HTML to create links to your Mantis issues, and update issues with private / public notes.
As an example, if you committed a change with the following log message (which is configurable see Project Configuration):


fix issue #410

Mantis keys in changelogs are now hyperlinked to the corresponding Mantis issue pages (complete with tooltips),
and Mantis issues are also updated with note as following.




This plugin only supports Mantis 1.1.0 and above.

Configuration

System Configuration

First, you need to go to system config screen to tell Jenkins where's your Mantis.

  • URL - the root URL of your Mantis installation, eg. http://example.org/mantis/
  • Version - version of your Mantis installation. 1.1.X or 1.2.X(1.2.0a3 and later, this is experimental)
  • User Name, Password - user name and password of your Mantis installation to update relevant Mantis issues.

Project Configuration

In the top section, select the url of your Mantis installation.


  • %ID% is placeholder which means Mantis issue id.
  • Project and Category is mandatory for "File a ticket when build is broken or unstable".

Update Mantis issue

In the Post-build Actions section, choose "Updated relevant Mantis issues" (option).


This plugin updates Mantis issues if build is stable or unstable.

File a ticket if build is broken or unstable

In the Post-build Actions section, choose "File a ticket to Mantis" (option).


To Update Mantis issues, Mantis user must have at least "DEVELOPER".

Trouble Shooting

If you have ran into trouble,

  1. Select New Log Recorder in System log screen.

  2. Configure Log Recorder. Logger is "hudson.plugins.mantis", log level is "finest". and save.
  3. Update Mantis issue...
  4. See System log. Check SOAP request and response.

Use BASIC_AUTH (Workaround)

Tips

  • "Array to string conversion" while try to connect to mantis(issue #27077).

Change Log

Version 0.26 (Feb 16, 2015)
  • Mantis password written in plain text in build.xml(issue #26831).
Version 0.25 (May 31, 2013)
Version 0.24 (Apr, 30, 2012)
  • Do not update mantis entry for all downstream jobs (issue #11839).
Version 0.23 (Apr, 1, 2012)
  • NullPointerException when Category have value : not selected (issue #13215).
Version 0.22 (Mar, 12, 2012)
  • NullPointerException when parsing changeset of Matrix project (issue #12849).
  • Mantis Plugin causes Configuration Loading Overlay to not disappear (issue #13023).
    • added "veiyfy" button under advanced button to check credentials.
  • Updated wsdl.
Version 0.21 (Jan, 1, 2012)
  • enable to select a subproject for filing a ticket.
Version 0.20 (Oct, 5, 2011) (unstable)
  • File a ticket if build is broken or unstable
Version 0.12 (Oct 9, 2011)
  • updated wsdl to support Mantisbt 1.28
Version 0.11 (Apr 29, 2011)
Version 0.10.1 (May 2, 2010)
  • Fix 'update relevant mantis issue' is not saved'. (issue #6363)
Version 0.10 (April 4, 2010)
Version 0.9 (Mar 3, 2010)
  • Update code for more recent Hudson.
Version 0.8.3 (Jul 26, 2009)
  • Allow empty pattern in form validation.
Version 0.8.2
  • check if user has Job.CONFIGURE, not ADMINISTER when configuring project (issue #4077).
  • fixed NPE in M2 project (issue #4049).
  • replaced deprecated classes and methods.
Version 0.8.1
  • Support subversion plugin.
  • Saved regexp pattern per build, which enables link in old history even if configuration is changed.
Version 0.8.0
  • Regexp pattern support.
Version 0.7.1
  • Support Mercurial changelog, which requires Mercurial Plugin 1.15.
  • Support Git changelog, which requires Git Plugin 0.5.
  • Fixed a bit.
Version 0.7
  • Record changelog in Mantis note.
Version 0.6.1
  • Don't change build status if failing to add note. (issue #3005).
  • check permission.
Version 0.6
  • Hudson 1.281 and later required.
  • Supported Mantis 1.2.0a3 and later (experimental) (issue #2877).
  • Logged SOAP Request and Response.
  • Improved error diagnostics.
Version 0.5.2
  • Use default issue id pattern if project configuration has not saved after upgrading (issue #2307).
Version 0.5.1
  • Improved performance of hyperlink to mantis.
Version 0.5
  • Configurable Mantis issue IDs patterns (issue #2117).
  • Hyperlink to mantis even if checkbox is not checked (issue #2117).
Version 0.4.3
  • Fixed UnknownFormatConversionException (issue #2116).
  • Improved Japanese translation.
Version 0.4.2
  • Added more logging for debugging.
  • The username and password of Mantis installation is now optional.
Version 0.4.1
Version 0.4
  • Update mantis issue if build status is unstable.
  • Support unsigned server certs.
Version 0.3.1
  • Fix JavaScript error
Version 0.3
  • Support HTTP Basic Authentication(Not Mantis's BASIC_AUTH)
  • Fix small bug
Version 0.2
  • Remove mantisconnect-client-api.jar.
Version 0.1
  • First version

Labels

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

Add Comment