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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -