[JIRA] Commented: (JENKINS-8559) CppCheck links to last success or unstable build, even when the current build fails due to CppCheck errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (JENKINS-8559) CppCheck links to last success or unstable build, even when the current build fails due to CppCheck errors

JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146692#comment-146692 ]

martinro commented on JENKINS-8559:
-----------------------------------

Added screenshot1.jpg.
The marked hyperlink links to (for example) http://dehudson:8080/view/C++Builder/job/0000-001%20C++Builder%20DE_PssHtmlReportService/cppcheckResult.
I think this link should open the results of the last build with cppcheck results (no matter of stable, unstable or even failed).
But sometimes it seems to link to the last _stable_ build , but that can be a old build.

I hope this explains the issue a little bit better.

> CppCheck links to last success or unstable build, even when the current build fails due to CppCheck errors
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-8559
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8559
>             Project: Jenkins
>          Issue Type: Bug
>          Components: cppcheck
>    Affects Versions: current
>         Environment: Running on Hudson 1.386.
>            Reporter: martinro
>            Assignee: gbois
>         Attachments: screenshot-1.jpg
>
>
> The link provided by CppCheck Plugin links currently always to the last success or unstable build.
> I configured the build to fail when CppCheck found errors.
> This works fine, the build fails.
> But then I want to examine the found errors from CppCheck.
> But this is not possible as the link directs to an old build (or even to no build when never a build was successful).
> I would want CppCheck to link to direct allways to the last run build (this keeps also the source code links in sync with the displayed errors)

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira