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

"The directory name is invalid" on Windows slaves

      Old description:

      pre-scm-buildstep assumes that the directory workspace exists when it's running. However, when setting up a project, it does not exist, and thus this step will fail unless the admin creates manually. Proper behaviour should be to check if it exists, and create it if it doesn't. Otherwise, if it does not exist, the execute shell will fail

      The issue also applies to system calls invoked from other places

          [JENKINS-11370] "The directory name is invalid" on Windows slaves

          Niklas Saers created issue -
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: plugin [ 15491 ]
          Description Original: pre-scm-buildstep assumes that the directory workspace exists when it's running. However, when setting up a project, it does not exist, and thus this step will fail unless the admin creates manually. Proper behaviour should be to check if it exists, and create it if it doesn't. Otherwise, if it does not exist, the execute shell will fail New: Old description:
          {quote}
          pre-scm-buildstep assumes that the directory workspace exists when it's running. However, when setting up a project, it does not exist, and thus this step will fail unless the admin creates manually. Proper behaviour should be to check if it exists, and create it if it doesn't. Otherwise, if it does not exist, the execute shell will fail
          {quote}

          The issue also applies to system calls invoked from other places
          Environment Original: OS X New: 1.509.4
          Labels New: slave
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Summary Original: pre-scm-buildstep assumes workspace exists New: "The directory name is invalid" on Windows slaves
          Oleg Nenashev made changes -
          Labels Original: slave New: slave windows workspace_corruption
          Oleg Nenashev made changes -
          Labels Original: slave windows workspace_corruption New: slave windows workspace workspace_corruption
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Sorin Sbarnea made changes -
          Link New: This issue is related to JENKINS-29105 [ JENKINS-29105 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141596 ] New: JNJira + In-Review [ 175510 ]

            Unassigned Unassigned
            niklassaers Niklas Saers
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: