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

Artifacts don't respect differing path separation characters on Windows and Unix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 2.0.3
    • Agents
    • None

    Description

      Assume a Bamboo server on *nix (specifically in our case Solaris 10 x86) and a remote agent on Windows.

      You have a Plan with an artifact definition like "*/" from MyDirectory/output .

      All the files come over from the Windows box with backslashes in the file names, which get represented as files with a backslash in them on the Unix side. So for example, if I had an artifact on Windows as:
      MyDirectory\output\bin\MyLib.dll
      this shows up under Bamboo as a file named
      bin\MyLib.dll (note that the backslash is an actual character in the path, and NOT as a directory terminator)

      This means that for a hierarchy like */ you end up with every file in one directory with the full path in and backslash characters.

      Ideal behavior here would be to have the artifact copier to automatically detect the path.terminator character and translate between the two platforms.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aca233f59075 Kirk Wylie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: