Skip to content

Conversation

iwonbigbro
Copy link

Add a configuration option for Cppcheck to compare results against a stable build rather than the last
build.

Cppcheck to compare results against a stable build rather than the last
build.
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@mixalturek
Copy link
Contributor

I will merge it a release new version on Sunday (hopefully), thanks.
M.

*
* @since 1.20
*/
private boolean stableBuild;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stableBuild would be stored to build.xml together with all non-transient fields now. This data file should contain only data from the particular build, stableBuild is global configuration flag.

<org.jenkinsci.plugins.cppcheck.CppcheckBuildAction>
  <owner class="build" reference="../../.."/>
  <result>
    <owner class="build" reference="../../../.."/>
    <statistics>
      <errorCount>0</errorCount>
      <warningCount>1</warningCount>
      <styleCount>22</styleCount>
      <performanceCount>2</performanceCount>
      <informationCount>1</informationCount>
      <noCategoryCount>0</noCategoryCount>
      <portabilityCount>0</portabilityCount>
      <versions>
        <string>1.61</string>
      </versions>
    </statistics>
    <stableBuild>false</stableBuild>    <!-- *** HERE *** -->
  </result>
  <healthReportPercentage>-1</healthReportPercentage>
</org.jenkinsci.plugins.cppcheck.CppcheckBuildAction>

@iwonbigbro
Copy link
Author

I might be able to get these changes in this weekend. If I have time, I'll also look into the delta issue too. What is the mail group I need to email to get added as a maintainer? Thanks

@mixalturek
Copy link
Contributor

@nickbroon
Copy link

👍

@nickbroon
Copy link

Any update on merging this? This is much needed behaviour, and should probably even be the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants