You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The issue is the Bamboo plans are failing builds because the plans are dependent on each other and different agent picks up the dependent plans.
The ask here from the user is for plans which are dependent on each other they should pick up any single agent for successful builds.
Dependency is in their respective plans within their pom.xml file in Bitbucket as they are using Microservices framework and they need any single same agent to build these respective dependent plans.
I understand when build takes place jar/temp files are on the agent .We need to use this temp file for another build.
Is there any way that the temp file of the previous can be stored for some time so that subsequent dependent plan can take place.
I don't want to dedicate agent to any specific plan/project .
Would appreciate any leads on this issue !!!
Thanks in advance.
Hi @VIVEK KARNA How are you doing?
Welcome to the community!
In this case you could share artifacts between plans.
First of all, you need to share the artifact in the first plan. You have to setup it in the Artifacts tab in the Job Configuration screen (do not forget to mark the Shared checkbox).
After that, you could go to the second plan and add a task of type Artifact Downloader Task. Then you select the source plan and the shared artifact.
This page shows this configuration in more details: https://confluence.atlassian.com/bamboo/sharing-artifacts-359400060.html#Sharingartifacts-plans
Hope this helps!