changes.
| The integration features: |
| * Hyperlink the Trac ticket id in commit messages to corresponding JIRA pages |
| * Generate an issues report from commit messages |
| * Progress/update the issues from commit messages |
| * Release a milestone of a project in Trac |
| * Create an issue to Trac based on a customized step condition |
| |
| This page will describe how to integrate Trac in QuickBuild. |
| |
| *On This Page* |
| |
| {toc:class=pagetoc|style=disc|indent=20px|maxLevel=3} |
| |
| {info} |
| Supported Trac version should be 0.11 or higher. |
| {info} |
| |
| h3. Simple Integration |
| To enable the integration: |
| |
| # *Install and enable XML RPC plugin for Trac.* This plugin and its installation guide can be found at below link: |
| http://trac-hacks.org/wiki/XmlRpcPlugin |
| # *Configure Trac Server on configuration settings tab.* |
| | * When configure your server url, you can test it by adding "/rpc", for example, if the server url is: http://localhost/trac/project, open below url in your browser: http://localhost/trac/project/rpc, and if the "Remote Procedure Call (RPC)" page can be displayed correctly, the url is correct. |
| * The ticket pattern here uses [Java regular expression|http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html] to match the ticket keys. By default, below pattern will match #123 or ticket:123. |
| | #* When configure your server url, you can test it by adding "/rpc", for example, if the server url is: http://localhost/trac/project, open below url in your browser: http://localhost/trac/project/rpc, and if the "Remote Procedure Call (RPC)" page can be displayed correctly, the url is correct. |
| #* The ticket pattern here uses [Java regular expression|http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html] to match the ticket keys. By default, below pattern will match #123 or ticket:123. |
| {code} |
| (?<!\:)(?:#|ticket:)\d+ |
| {code} |
| |