Issue Type: Bug Bug
Assignee: Unassigned
Attachments: JiraReporter.java
Components: jiratestresultreporter
Created: 10/May/13 5:28 PM
Description:

Using the google C++ test framework, I inserted a failure case into the supplied test cases to trigger a JIRA issue to be created.

[----------] 2 tests from SkipPrefixTest
[ RUN ] SkipPrefixTest.SkipsWhenPrefixMatches
[ OK ] SkipPrefixTest.SkipsWhenPrefixMatches (0 ms)
[ RUN ] SkipPrefixTest.DoesNotSkipWhenPrefixDoesNotMatch
..\test\gtest_unittest.cc(7337): error: Value of: 1
Expected: 0
[ FAILED ] SkipPrefixTest.DoesNotSkipWhenPrefixDoesNotMatch (0 ms)
[----------] 2 tests from SkipPrefixTest (0 ms total)

Because there are carriage returns in the output, when the json payload is created, these control characters are not escaped, so JIRA does not accept the input.

Also, I was having serialization issues when I first installed the plugin and these were resolved by removing the use of the workspace. I can't reproduce the errors now, so I didn't create a separate issue for it.

The attached file is what I'm using to strip out the control characters.

Project: Jenkins
Priority: Major Major
Reporter: Richard Fuchs
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to