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

Make clear that "Local Path" in SCP task needs to be relative

    XMLWordPrintable

Details

    • 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.

    Description

      Often in field "Local Path" of Bamboo's SCP task configuration, an absolute path is set, though the path there need to be relative to this plan's working directory.

      This is clearly pointed out in KB Using the SCP task in Bamboo.

      If set wrong, the SCP task will simply fail, typically with an error like "There were no files to upload" or something close to that being written out in the plan's build log.

      A way to likely help avoid that happening is to

      1. either simlply display something like "Local Path of the file to copy needs to be relative to your Bamboo plan's working directory" below field "Local Path".
      2. Or, alternatively and coming along with a bit more programming effort, the path entered there should be verified so to not be a relative path starting at this plan's working directory.
        • On verification fail, the logged out error should then be something like "No relative Local Path in SCP task. Please fix that."

      Attachments

        Activity

          People

            achystoprudov Alexey Chystoprudov
            gforster@atlassian.com Gerhard Forster (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: