pre-scm steps runs before workspace is created

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            giuliano carlini
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: