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

SCP-Task mistakenly trying to create remote directories for files

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Handled by Support
    • None
    • SCP and SSH tasks
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We have some instances where the SCP-Task tries to create a remote directory named after the file that should've been uploaded.

      E.g. we tried uploading a file "main.min.js", which resulted in:
      "Creating remote directory 'dist/js/main.min.js'..
      [...]
      Copy Failed. Some files were not uploaded successfully.
      'dist/js/main.min.js' was not uploaded."

      First assumption was a problem with files containing a dot in the filename itself. But we also have files like this, which are uploaded successfully.

      One interesting differentiation for the "main.min.js"-case is the fact that we have files in the same directory called "main.min.js.src" and "main.min.js.map". Could this be related?

      In another instance of this problem, we had a file called "name_of_file.pdf" which was sitting alongside a file "name_of_file.pdf_old". Which, too, resulted in this error.

      We are using "Atlassian Bamboo version 4.4.4 build 3506" and "Bamboo SCP and SSH Tasks Version: 1.18"

        1. CART-STAGE-JOB1-74.log
          7 kB
          Jonas Ulrich

              mwent Marek Went (Inactive)
              bb2263678e0b Jonas Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: