title: Jenkins pipeline - pass Mask Passwords - Global name/password pairs
body: <p>In jenkins pipeline project, I'm trying to pass Global name/password pairs to .sh script. 
  note that I've already tried passing "${env.MyCred}"; $MyCred; withCredentials - yet failed. </p>
  
  <p>I do know that in other type of jenkins projects, one need to check the "Mask passwords and regexes (and enable global passwords)" in order to be able use them. Pipeline project miss this configuration .. </p>
  
  <p>Any idea how? Is there something I'm missing here ? </p>
  
  <p>THX - albert </p>