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

Multiple SCMs plugin doesn't save file system path

    XMLWordPrintable

Details

    Description

      I'm trying to build a simple job from scripts in a git repo and copy another file from the filesystem using the File System SCM and Multiple SCMs plugins. I can copy the file system directory by itself as the only SCM without Multiple SCMs configured. I can also checkout from git, but when I add the File System SCM under Multiple SCMs and configure the path I get this error in the console output log:

      FSSCM.checkout to /home/user/.jenkins/workspace/Projects/Build Test
      FATAL: Parameter 'directory' is not a directory

      Going back to re-configure the build, I find that the file system path is empty, so it doesn't seem to be correctly saving this parameter.

      Attachments

        Activity

          jp83 Jonathan Phelps created issue -

          This error usually pops up when you point to a directory that doesnt exist. Since you are using a directory with whitespace in your checkout path, have you tried on one without?

          dominikgebhart Dominik Gebhart added a comment - This error usually pops up when you point to a directory that doesnt exist. Since you are using a directory with whitespace in your checkout path, have you tried on one without?
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 171096 ] JNJira + In-Review [ 184160 ]

          Suggest that you migrate to Pipeline plugin, which offers a supported way of checking out from multiple scms
          https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin

          rodrigc Craig Rodrigues added a comment - Suggest that you migrate to Pipeline plugin, which offers a supported way of checking out from multiple scms https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin
          rodrigc Craig Rodrigues made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Resolved [ 5 ]
          mishacucicea Mihai Cucicea added a comment -

          dominikgebhart It doesn't work if you have a directory without a space in its name/path, it won't save them when trying to use "multiple SCM".

          mishacucicea Mihai Cucicea added a comment - dominikgebhart It doesn't work if you have a directory without a space in its name/path, it won't save them when trying to use "multiple SCM".

          People

            samngms samngms
            jp83 Jonathan Phelps
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: