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
Post a Comment