I have raised a feature request: https://issues.jenkins-ci.org/browse/JENKINS-21728