building failure in jenkins as build.sh: not found -


i building free style project in jenkins. configure setting execute shell script as

build.sh -label $job_name -$build_number -java_home $java_home 

when try build project, have console output build failure.

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 failure finished: failure 

according documentation

builds non-source control projects

there need build project demonstration purposes or access svn/cvs repository unavailable. choosing configure project "none" under "source code management" have to:

1 build project @ least once, (it fail), jenkins create structure jenkins/workspace/projectname/ 2 copy project files jenkins/workspace/projectname/ 3 build again , configure appropriately 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -