jenkinsci/rtc-plugin — pull request #6 by vvidovic (2013-01-04 10:02:01+00:00)
Title: customization of rtc accept command output

Hello,

at work we use RTC version 3.1.100 and Jenkins RTC plugin didn't work well with it. Plugin failed after each accept because RCT accept command output was different from the expected one.

I see there are two parsers (old and new one) and I added the third one which is used in case user defines three custom environment variables:
RTC_ACCEPT_OUT_PATTERN_STARTCHANGESET
RTC_ACCEPT_OUT_PATTERN_FILE
RTC_ACCEPT_OUT_PATTERN_WORKITEM

When I start Jenkins I set this three variables to following values and now plugin works fine:
"^\s{6}\((\d+)\)\s(.*)", "^\s{10}---(.)-\s+(.*)" and "^\s{10}\((\d+)\)+(.*)"

Also I fixed few minor spelling errors (changed "itens" to "items").

Could you please accept this changes to main rtc-plugin code?

Thanks,
Vedran