Jenkins: Get latest build with certain validation stamp

Works also with the pre-scm-buildstep plugin :)