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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 9.4.1
    • Artifacts
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            661435e617fd Vani
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: