Expose ownership into build environment

Resolves https://issues.jenkins-ci.org/browse/JENKINS-18744