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!
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events