I reproduced this issue with Hudson 1.339, ci-game 1.15 and PMD 3.1. Here is the stacktrace during the build:
GRAVE: Executor throw an exception unexpectedly
java.lang.NoClassDefFoundError: hudson/plugins/pmd/util/model/Priority
at hudson.plugins.cigame.rules.plugins.pmd.PmdRuleSet.loadRules(PmdRuleSet.java:14)
at hudson.plugins.cigame.rules.plugins.PluginRuleSet.getRules(PluginRuleSet.java:48)
at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:33)
at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:54)
at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:56)
at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:42)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:158)
at hudson.model.Run.run(Run.java:1221)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
The builds with this error do not produce the build.xml file in builds/timestamp folder, and are invisible in the build history.
Some builds are also incorrectly reported as failed , as mentioned in JENKINS-2218 (which could be reopened also I think).
The workaround for the next builds is to disable the pmd plugin. But the old builds are still lost. Is there a workaround to show back these lost builds?
Please check the container log and let us know what exception records you are
getting. Hudson reports the reason why it fails to load build records.
Note that Hudson not deleting those build records is by design.