title: Groovy Execute Bash Script in Jenkins
body: <p>I am trying to run a bash script from Groovy in Jenkins but I am not able to find the lucky commands.</p>
  
  <p>I can run this and it creates my "RJ" directory:</p>
  
  <pre><code>process = "mkdir /app/jenkins/workspace/TEST/RJ"
  println process.execute()
  </code></pre>
  
  <p>But when I try to run my bash it is not creating my output file.  I am able to run this bash script on the server directly and it is creating my expected output file.</p>
  
  <pre><code>process = "/app/jenkins/workspace/TEST/info_file.sh"
  println process.execute()
  </code></pre>