[JIRA] Created: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
Reporting plugins report error on M2 project when one module doesn't have results
---------------------------------------------------------------------------------

                 Key: HUDSON-6895
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
             Project: Hudson
          Issue Type: Bug
          Components: checkstyle, core, plugin, pmd
            Reporter: nick_stolwijk
            Assignee: drulli
             Fix For: current


after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.

It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.

I'm using a M2 job type and there is one module without results.

Layout:

/pom.xml <- aggregator pom, parent = released company pom
/parent
/parent/pom.xml <- parent pom, parent = released company pom
/module-1
/module-1/pom.xml <- module pom, parent = parent/pom.xml
/module-2
/module-2/pom.xml <- module pom, parent = parent/pom.xml

The parent module doesn't contain any sources, so this doesn't contain any result files.

[1] http://localhost:8080/hudson/job/myproject/2463/checkstyleResult/error/

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli updated HUDSON-6895:
---------------------------

    Description:
after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.

It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.

I'm using a M2 job type and there is one module without results.

Layout:

/pom.xml <- aggregator pom, parent = released company pom
/parent
/parent/pom.xml <- parent pom, parent = released company pom
/module-1
/module-1/pom.xml <- module pom, parent = parent/pom.xml
/module-2
/module-2/pom.xml <- module pom, parent = parent/pom.xml

The parent module doesn't contain any sources, so this doesn't contain any result files.

  was:
after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.

It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.

I'm using a M2 job type and there is one module without results.

Layout:

/pom.xml <- aggregator pom, parent = released company pom
/parent
/parent/pom.xml <- parent pom, parent = released company pom
/module-1
/module-1/pom.xml <- module pom, parent = parent/pom.xml
/module-2
/module-2/pom.xml <- module pom, parent = parent/pom.xml

The parent module doesn't contain any sources, so this doesn't contain any result files.

[1] http://localhost:8080/hudson/job/myproject/2463/checkstyleResult/error/


> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli updated HUDSON-6895:
---------------------------

       Priority: Minor  (was: Major)
    Component/s: analysis-core
                     (was: checkstyle)
                     (was: core)
                     (was: plugin)
                     (was: pmd)

> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.
> [1] http://localhost:8080/hudson/job/myproject/2463/checkstyleResult/error/

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139797#action_139797 ]

drulli commented on HUDSON-6895:
--------------------------------

Simple solution: skip parsing step for packaging 'pom'.



> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139798#action_139798 ]

drulli commented on HUDSON-6895:
--------------------------------

Error messages should contain a reference to the maven module, if available.

> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140305#action_140305 ]

oczkins commented on HUDSON-6895:
---------------------------------

not only pom but any one that do not produce analisis report like 'ear' for example

> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-6895.
------------------------------------

    Resolution: Fixed

> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140463#action_140463 ]

scm_issue_link commented on HUDSON-6895:
----------------------------------------

Code changed in hudson
User: : drulli
Path:
 trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/FilesParser.java
http://hudson-ci.org/commit/33226
Log:
[FIXED HUDSON-6895]: don't report an error in Maven projects if there is no analysis file to parse.


> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6895) Reporting plugins report error on M2 project when one module doesn't have results

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140465#action_140465 ]

drulli commented on HUDSON-6895:
--------------------------------

Integrated in !http://faktorzehn.org:8081/images/16x16/blue.gif! [Hudson Plug-ins (Compile) #30|http://faktorzehn.org:8081/job/Hudson%20Plug-ins%20(Compile)/30/]
     [FIXED HUDSON-6895]: don't report an error in Maven projects if there is no analysis file to parse.


> Reporting plugins report error on M2 project when one module doesn't have results
> ---------------------------------------------------------------------------------
>
>                 Key: HUDSON-6895
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6895
>             Project: Hudson
>          Issue Type: Bug
>          Components: analysis-core
>            Reporter: nick_stolwijk
>            Assignee: drulli
>            Priority: Minor
>             Fix For: current
>
>
> after a successful build my result page shows the message "During parsing an error  has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
> It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
> I'm using a M2 job type and there is one module without results.
> Layout:
> /pom.xml <- aggregator pom, parent = released company pom
> /parent
> /parent/pom.xml <- parent pom, parent = released company pom
> /module-1
> /module-1/pom.xml <- module pom, parent = parent/pom.xml
> /module-2
> /module-2/pom.xml <- module pom, parent = parent/pom.xml
> The parent module doesn't contain any sources, so this doesn't contain any result files.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]