title: How to disable command output in jenkins pipeline build logs
body: <p>I am using Jenkinsfile for scripting of a pipeline.</p>
  
  <p>Is there any way to disable printing of executed shell commands in build logs?</p>
  
  <p>Here is just a simple example of a jenkins pipeline:</p>
  
  <pre><code>node{
    stage ("Example") {
      sh('echo shellscript.sh arg1 arg2')
      sh('echo shellscript.sh arg3 arg4')        
    }
  }
  </code></pre>
  
  <p>which produces the following output in console log:</p>
  
  <pre><code>[Pipeline] node
  Running on master in /var/lib/jenkins/workspace/testpipeline
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Test)
  [Pipeline] sh
  [testpipeline] Running shell script
  + echo shellscript.sh arg1 arg2  
  shellscript.sh arg1 arg2
  [Pipeline] sh
  [testpipeline] Running shell script
  + echo shellscript.sh arg3 arg4
  shellscript.sh arg3 arg4
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // node
  [Pipeline] End of Pipeline
  Finished: SUCCESS
  </code></pre>
  
  <p>Basically I would like to disable printing of the commands itself.</p>
  
  <pre><code>+ echo shellscript.sh arg1 arg2
  + echo shellscript.sh arg3 arg4
  </code></pre>