added a comment - - edited
I'm having something similar; a build disappears at some point after completion...some times even during the build.
This is Jenkins 1.554.1 on Java:
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (rhel-220.127.116.11.el5_10-x86_64)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
It impacts both jobs that we use the Job DSL for as well as for jobs are normal manually edited.
We can "work around" the problem (without having to reload the whole config from disk, which has in the past caused problems with plugins like GerritTrigger) by doing one of the following:
1. Click 'configure' then immediately click 'save'. The missing builds sometimes reappear. (In previous versions of Jenkins, but it isn't working in 1.554.1 apparently).
2. If we're lucky, we can click 'trends' and the build will be there. We click on it and the missing builds magically reappear.
I've noticed that some jobs behave badly (e.g. fail with weird messages from Jenkins) after updating plugins until I go in and click 'configure' and then 'save' immediately (without changing anything). I've looked at the config.xml and it does change, sometimes new elements get added, or plugin versions are bumped. I'm unsure if the config.xml changing is part of the problem/work-around or if saving just causes Jenkins to rescan things.
It's not reproducible, but if someone can suggest things they'd like us to record/look-at when it happens again I'd be happy to do it. I'm not a Java debugging expert, but I can pull some in.
EDITED: Fixed my using 'job' when I meant 'build'.