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

Mercurial GeneralSCM step does not create intermediary directories.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • mercurial-plugin
    • Jenkins Master (Fedora 22 - Server 64bit)
      Jenkins Slave (Win7 - 64bit)
      Jenkins Version - v1.611
      Mercurial Plugin - v1.52
      Workflow Plugin - v1.5

      Base slave install with nothing in the home directory.

      Standard Freestyle project creates the full path $JENKINS_HOME\workspace\<job name>.

      Workflow project fails the scm step with abort: The system cannot find the path specified: $JENKINS_HOME\workspace\<job name>

      Manually creating the $JENKINS_HOME\workspace directory fixes the issue unless the scm step specifies a sub-directory, in which case the parent of the sub-directory also has to be manually created.

      Workflow script was a simple:

      node('slave-name') {
        checkout([$class: 'MercurialSCM', ...])
      }
      

            jglick Jesse Glick
            themaddhatter Geoffrey Edwards
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: