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

Multiple SCMs plugin doesn't save file system path

    Details

    • Similar Issues:

      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

          Hide
          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?

          Show
          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?
          Hide
          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

          Show
          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
          Hide
          mishacucicea Mihai Cucicea added a comment -

          Dominik Gebhart 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".

          Show
          mishacucicea Mihai Cucicea added a comment - Dominik Gebhart 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

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

              Dates

              • Created:
                Updated:
                Resolved: