[JENKINS-24007] Put a warning about report in legacy format to build log