The reporting part of this plugin is really attractive and easy to understand.
Since I need to setup both klocwork plug in both win and linux node, I need to maintain the "kwbuildproj" in my own ant script.
So I setup a free-style job to trigger my ant build. The ant build will handle all klocwork related commands, "kwadmin", "kwinject", "kwbuildproject" and "kwinspectreport".
After the ant script is done, a klocwork-result.xml is produced. The "Post-build Actions: Publish Klocwork test result report" capture the xml and show the report nicely on the build page. But after restart of Jenkins service, all the successful build of the job will be lost.
I guess (without evidence), there is some persistent structure has to be created in Jenkins build record to store the Klocwork report. Somehow, this structure doesn't get created with only executing the "Post build action".