Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: warnings
Created: 11/Jul/13 12:47 PM
Description:

The W3C CSS validator outputs multiline messages: One output per .css file - if at lest one error is present - and with all errors collected togehter. See log example.
The regex is able to catch the whole block, thats good!
We like to report each error separate. But the groovy snippet can only return one "new Warning(...)". It would be nice if the groovy snippet is able to return multipe warnings. E.g. per function "add(new Warning(...))" or a list, which prevents me from reformatting the log before parsing.

Log example:

Sorry! We found the following errors (6)
        

URI : file:/jenkins/s7/workspace/CCF2FW/ccf/WebContent/common/tiny_mce/themes/advanced/skins/default/ui.css

Line : 40 .defaultSkin .mceButtonDisabled .mceIcon
       Property -ms-filter doesn't exist : 
       'alpha(opacity=30)' 
Line : 40 .defaultSkin .mceButtonDisabled .mceIcon
       Parse Error
       opacity=30)
Line : 70 .defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled a.mceOpen
       Property -ms-filter doesn't exist : 
       'alpha(opacity=30)' 
Line : 70 .defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled a.mceOpen
       Parse Error
       opacity=30)
Line : 108 .defaultSkin .mceBlocker
       Property -ms-filter doesn't exist : 
       'alpha(opacity=50)' 
Line : 108 .defaultSkin .mceBlocker
       Parse Error
       opacity=50)

Kind regards,
Johannes

Project: Jenkins
Priority: Minor Minor
Reporter: Johannes Heger
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to