title: building failure in jenkins as build.sh: not found
body: <p>I am building a free style project in jenkins. configure setting for execute shell script as</p>
  
  <pre><code>build.sh -label $JOB_NAME -$BUILD_NUMBER -java_home $JAVA_HOME
  </code></pre>
  
  <p>when i try to build the project, i have a console output as build failure.</p>
  
  <pre><code>Building in workspace /var/lib/jenkins/workspace/jmxweb
  [jmxweb] $ /bin/sh -xe /tmp/hudson4723307331600368596.sh
  + build.sh -label jmxweb -8 -java_home /usr/lib/jvm/java-7-oracle
  /tmp/hudson4723307331600368596.sh: 2: /tmp/hudson4723307331600368596.sh: build.sh: not found
  Build step 'Execute shell' marked build as failure
  Finished: FAILURE
  </code></pre>