title: Echo off in Jenkins Console Output
body: <p>I'm following <a href="http://developer.android.com/sdk/installing/studio-build.html#configureSigning">guideline</a> how to sign Android apk with Jenkins. I have parametrized Jenkins job with KSTOREPWD and KEYPWD. A part of Jenkins' job configuration (Build->Execute shell) is to take those parameters and store them as environment variables:</p>
  
  <pre><code>export KSTOREPWD=${KSTOREPWD}
  export KEYPWD=${KEYPWD}
  ...
  ./gradlew assembleRelease
  </code></pre>
  
  <p>The problem is when the build is over anybody can access the build "Console Output" and see what passwords were entered; part of that output:</p>
  
  <pre><code>08:06:57 + export KSTOREPWD=secretStorePwd
  08:06:57 + KSTOREPWD=secretStorePwd
  08:06:57 + export KEYPWD=secretPwd
  08:06:57 + KEYPWD=secretPwd
  </code></pre>
  
  <p>So I'd like to suppress echo before output from <code>export</code> commands and re-enable echo after <code>export</code> commands.</p>