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

Artifacts with colons in display names break builds when running a Windows OS agent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 8.2.2, 8.1.6
    • 8.1.1
    • Artifacts, Windows
    • None

    Description

      Problem

      Builds fail due to the artifact having a colon on the name after upgrading Bamboo from V7.2 to V8.1.1

      Steps to Reproduce

      1. On Bamboo V7.2, create build plans with artifacts that contain a colon ":" on the name.
      2. Run the build on a Windows OS agent. Build run successfully.
      3. Upgrade Bamboo to V8.1.1 and run the same build with artifacts. It fails, indicating an illegal char <:>.
      4. Rename the artifact, run the build once again. Build run successfully.
        This error only occurs when running a Windows OS agent, same error does not happen on other OS.

      Actual Results

      Bamboo V7.2 - Build plan successfully worked prior to the upgrade:

      simple	17-Jan-2022 16:12:39	Publishing an artifact: cool:file
      simple	17-Jan-2022 16:12:40	Finished publishing of artifact Required shared artifact: [cool:file], pattern: [coolfile.txt] in 204.9 ms

      Bamboo 8.1.1 - Build plan failed after the upgrade:

      18-Jan-2022 20:36:29 	com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler: Illegal char <:> at index 119: C:\Users\admin\bamboo-agent-home\xml-data\build-dir\temporaryArtifactStorage\remote\plan-622593\shared\build-00003\cool:file
      18-Jan-2022 20:36:29 	Unable to publish artifact [cool:file]: Unable to publish artifact Required shared artifact: [cool:file], pattern: [coolfile.txt] for PROJ-IZ-JOB1-3 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@457c33cd 
      18-Jan-2022 20:36:29 	The artifact is required, build will now fail.

      Workaround

      Rename the artifacts.
       

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              a3e6629b6e9d Giovanna Fragoso
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: