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

Error while downloading Artifact from the Bamboo Default plan when a duplicate branch plan exits

      Issue Summary

      Error while downloading Artifact from the Bamboo Default plan when a duplicate branch plan exits with same name as
      This is reproducible on the Data Center: Yes

      Steps to Reproduce

      1. Create a Build plan with a linked repository pointing (points to the 'master' branch)
      2. Create an artifact name 'artiface-test1'
      3. Create a Stage2 and add an 'Artifact Download Task' to download the 'All Artifact' from the current plan
      4. Run the build plan and it will be successful
      5. Create a branch plan with the same name as the default branch 'master'
      6. Run the newly created branch plan
      7. Add a new artifact to the Default plan eg: artifact name with 'artifact-test2'
      8. Run the Default branch

      Expected Results

      The artifact Download task should download the generated artifact.

      Actual Results

      The below error is thrown in the Build plan log file:

      21-Dec.-2023 12:29:33	Preparing to download plan result TEST-PLA30-3 artifact: Required shared artifact Http Compression On : [artifact-test3], patterns: [test2]
      21-Dec.-2023 12:29:33	Unable to download artifact Required shared artifact Http Compression On : [artifact-test3], patterns: [test2]
      21-Dec.-2023 12:29:33	The plan is using global artifact handlers configuration.
      21-Dec.-2023 12:29:33	The following handlers are enabled for transferring shared artifacts:
      21-Dec.-2023 12:29:33	custom.artifactHandlers.comAtlassianBambooPluginArtifactHandlerRemote:BambooRemoteArtifactHandler
      21-Dec.-2023 12:29:33	custom.artifactHandlers.comAtlassianBambooPluginArtifactHandlerLocal:ServerLocalArtifactHandler
      21-Dec.-2023 12:29:33	Task configuration:
      21-Dec.-2023 12:29:33	artifactId_1 -> [-1]
      21-Dec.-2023 12:29:33	sourcePlanKey -> [TEST-PLA3]
      21-Dec.-2023 12:29:33	localPath_1 -> []
      
      

      Workaround

      • Find if there is another branch plan that exits as the Default plan, if so rename or delete the branch plan that is no longer needed.
      • Run the Default plan

            [BAM-25626] Error while downloading Artifact from the Bamboo Default plan when a duplicate branch plan exits

            Sylwester Jeruzal (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 958481 ]
            Patryk Makuch made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Eduardo Alvarenga (Inactive) made changes -
            Remote Link New: This issue links to "+core+ Dogfooding › Test Git Branch Detection › noissue-test-10_0-without-BAM-25626 (tardigrade-bamboo)" [ 942750 ]
            Mateusz Szmal made changes -
            Fix Version/s New: 10.0.1 [ 109291 ]
            Fix Version/s New: 10.1.0 [ 109090 ]
            Fix Version/s New: 9.6.6 [ 108839 ]
            Fix Version/s New: 9.2.18 [ 108838 ]
            Mateusz Szmal made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Mateusz Szmal made changes -
            Status Original: Long Term Backlog [ 12073 ] New: In Progress [ 3 ]
            Sylwester Jeruzal (Inactive) made changes -
            Remote Link New: This issue links to "+core+ Dogfooding › Test Git Branch Detection › bugfix-BAM-25626-error-downloading-artifact-when-duplicated-branch-plans (tardigrade-bamboo)" [ 941457 ]
            Sylwester Jeruzal (Inactive) made changes -
            Assignee New: Sylwester Jeruzal [ 0e9420ab33a9 ]
            Rob made changes -
            Labels New: whl-fy25q1
            Mateusz Szmal made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 938920 ]

              0e9420ab33a9 Sylwester Jeruzal (Inactive)
              661435e617fd Vani
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: