-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
uname -a
Linux BS64F14 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Jenkins ver. 1.488
Jenkins CCCC Plug-in 0.6
Preconditions:
Project in C++ with main.cpp and a Makefile. (it could be a hello world example)
cccc shall be installed in the build server.
Configure jenkins to run cccc as follows:
cccc --outdir=cccc_output --lang=c++ main.cpp
Configure Post-Build actions: at Publish cccc report:
Main XML CCCC report file path = cccc_output/cccc.xml
Select (check) Run even if build fails.
Reproduction steps:
run for first time cccc using jenkins. Verify that the run was successful.
do no changes and run again cccc. Verify taht there is a trend CCCC report with 2 builds.
Add some erroneous code to main.cpp. and build again. Verify that the build was unsuccessful and that the CCCC trend still the same but with a new build at the x axis.
Fix the code added to main.cpp and build again. Verify that the build was successful. <BUG> the CCCC trend is missing and is not displayed.!!!!
do no changes and build again. Verify that CCCC trend is up again but only with the last two builds (just for the successful builds after the failed one). All the previous builds are missing and trend only shows latter code lines.