Issue Type: Bug Bug
Affects Versions: current
Assignee: Ulli Hafner
Components: warnings
Created: 12/Nov/13 4:40 PM
Description:

I build for 2 platforms serially on 2 different build VMs and have the output go to the same common log file.

I use MSBuild to parse that log file for the Win MSBuild related warnings and gcc-4 for the MacOS gcc warnings.

Currently, the MSBuild warning filter is picking up this output from the MacOS build (note the forward slashes among other evidence that show this is not on Windows):

ld: warning: object file compiled with -mlong-branch which is no longer needed. To remove this warning, recompile without -mlong-branch: /usr/lib/gcc/powerpc-apple-darwin10/4.0.1/crt2.o creating bin/paqa_devs
ld: warning: object file compiled with -mlong-branch which is no longer needed. To remove this warning, recompile without -mlong-branch: /usr/lib/gcc/powerpc-apple-darwin10/4.0.1/crt2.o creating bin/patest1

I think the regex needs to be improved for MSBuild to ignore non-Windows output or perhaps the format of the error code (in this case "ld:") should be more strict so as not to allow invalid MSBuild codes (I can't imagine that ld: is a valid MSBuild code).

What this ends up doing is greatly tilting our MSBuild warnings count and including unusable information in the MSBuild warnings result page.

Environment: Jenkins system is Ubuntu 12.04 Server
Project: Jenkins
Priority: Major Major
Reporter: Shannon Kerr
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