Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13345

pre-scm steps runs before workspace is created

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.

            Unassigned Unassigned
            gorillacoder giuliano carlini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: