You are viewing an old version (v. 3) of this page.
The latest version is v. 13, last edited on Aug 28, 2010
(view differences
|
)
<< View previous version | view page history | view next version >>
<< View previous version | view page history | view next version >>
For those issue tracker which QuickBuild not supported, you can define a search pattern and a replace pattern in *Comment Transformer. For example, we want to hyperlink all issue id found in the commit messages to corresponding Bugzilla issue page, we can define search pattern as:
(?<!\\:)(?:#|bug:)(\\d+)(\\b|$)
and define replace pattern as:
<a target="_blank" title=\"Click to open this issue a new window" href="http://mybugzilla.com/browse/$1">#$1</a>
You can define arbitary HTML pieces here. The syntax for the pattern is useing Java regular expression.