title: Jenkins script execution in console output
body: <p>When I try to execute the shell script <strong>test.sh</strong> in Jenkins by adding Execute Shell in Jenkins Build configuration I don't see the shell script output in the jenkins console. I just receive that script has been executed seccessfully , but I don't see the output. My script for example is simple just `</p>
  
  <pre><code>#!/bin/bash +x 
  echo "hello" 
  </code></pre>
  
  <p>and Jenkins console output is : </p>
  
  <pre><code>Started by user Andrej
  Building in workspace C:\Program Files (x86)\Jenkins\workspace\test
  [test] $ "C:\Program Files\Git\git-bash.exe" -xe C:\Users\ADMINI~1\AppData\Local\Temp\jenkins6727659055076114908.sh
  C:\Program Files (x86)\Jenkins\workspace\test&gt;exit 0 
  Finished: SUCCESS
  </code></pre>
  
  <p>How can I configure the jenkins that I can see all the script output and if script have receive error I get unseccessfull build message?</p>