title: How to run script in mvn as test
body: <p>I would like to have the following scenario in Maven/Jenkins:</p>
  
  <ul>
  <li>Run test scripts (bash/shell)</li>
  <li>when the script exited with a problem (an error), then the Maven  build on Jenkins should be on <code>UNSTABLE</code> and not <code>FAILURE</code> status</li>
  </ul>
  
  <p><strong>Question</strong>: How can I do it?</p>