Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.4.1
-
None
-
2
-
Severity 3 - Minor
-
0
-
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
- Create a Build plan with a linked repository pointing (points to the 'master' branch)
- Create an artifact name 'artiface-test1'
- Create a Stage2 and add an 'Artifact Download Task' to download the 'All Artifact' from the current plan
- Run the build plan and it will be successful
- Create a branch plan with the same name as the default branch 'master'
- Run the newly created branch plan
- Add a new artifact to the Default plan eg: artifact name with 'artifact-test2'
- 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