Export sub build info

Fixes improvement https://issues.jenkins-ci.org/browse/JENKINS-18361