I suggest to integrate envinject plugin so we can inject global and or job password.
Build wrappers are now supported in Promoted Builds 3.3