[ https://issues.jenkins-ci.org/browse/JENKINS-13345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
giuliano carlini resolved JENKINS-13345. ---------------------------------------- Resolution: Duplicate dup of JENKINS-12770 > pre-scm steps runs before workspace is created > ---------------------------------------------- > > Key: JENKINS-13345 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13345 > Project: Jenkins > Issue Type: Bug > Components: prescmbuildstep > Reporter: giuliano carlini > Priority: Critical > > 1st build for a job always fails when trying to execute prescm build step: > 05:45:36 Started by timer > 05:45:36 Building on master in workspace > /build/jenkins/jobs/BuildAllAndTest/workspace > 05:45:36 Running Prebuild steps > 05:45:36 [workspace] $ /bin/sh -xe /tmp/hudson3985561110537366831.sh > 05:45:36 FATAL: command execution failed > 05:45:36 java.io.IOException: Cannot run program "/bin/sh" (in directory > "/build/jenkins/jobs/BuildAllAndTest/workspace"): > java.io.IOException: error=2, > No such file or directory > Fortunately there is another bug, failures in the prescm build step do not > fail the build, so the job continues and creates the workspace, so the next > build succeeds. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira