Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15445

SCP Task Recursive copy doesn't work if only one folder has files.

      This may be expected behavior, if so feel free to close.

      We were trying to recursive copy files to maintain folder structure, but in one instance all of the files were under the same subfolder so the plugin didn't see it as a recursive copy.

      Works fine

      Matcher: **/*
      dir1/subdir1/file1
      dir1/subdir2/file2
      

      Not viewed as recursive

      Matcher: **/*
      dir1/subdir1/file1
      dir1/subdir1/file2
      

      As a workaround, we added a useless file under dir1 which caused the plugin to view it as a recursive copy.

        1. scp_task.png
          71 kB
          Alexey Chystoprudov

              jmajkutewicz Jan Majkutewicz (Inactive)
              a5bc8484f526 toscott
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: