Continuous integration analysis fails due to missing filesIf the build step creates temporary files when adding Klocwork CI to your continuous integration project in Jenkins or TeamCity, the Klocwork build might fail. To verify this, check the build log for kwcc errors. This may be occurring because the build is creating transient files that are being picked up by kwinject. To avoid this, you can add --ignore-files <temp files pattern> to the command. For example, the 'zlib' build creates some 'testXXX.c' files to test some functionality in unit tests. Then, the files get deleted immediately after the test is finished. In this case, the --ignore-files test*.c option should be added to the kwinject command to avoid analysis failure. For example:
kwinject [option...] <build-command> [arg...] --ignore-files test*.c |