Add submodule reference parameter

Addresses https://issues.jenkins-ci.org/browse/JENKINS-18519