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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.