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

SCP task copy artifacts based on the copy pattern used when creating the artifact

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 5.2, 5.6.1
    • SCP and SSH tasks

    Description

      Steps to reproduce

      1. Create an artifact in Bamboo using the copy pattern *.war
      2. Create another one using any pattern say *.war. See the screenshot for the available artifacts created
      3. Now in the deployment project, download both artifacts. This will add them to the deployment environment
      4. Add an additional scp task to copy the artifacts to a remote directory. Choose only of the artifacts

      Expected behavior
      Bamboo should copy over only the selected artifact

      current behavior
      Bamboo is copying over using the matching string *.war. This will copy other unintended artifacts as well since we have downloaded some other artifacts. Bamboo should be able to copy over only the selected one

      2013-10-31 16:24:54,021 INFO [7-BAM::Default Agent::Agent:pool-19-thread-1] [ScpTask] Preparing list of files to copy in D:\atlassian\BAMBOO\atlassian-bamboo-5.2\HOME\xml-data\build-dir\2621441-2719745 matching *.war
      

      Workaround
      The workaround will be to download the artifacts to a dedicated folders. See screenshot

      Attachments

        1. download.jpg
          download.jpg
          97 kB
        2. scptask.jpg
          scptask.jpg
          79 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          73 kB
        4. workaround.jpg
          workaround.jpg
          85 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: