I have several jobs within a build plan, some of which are currently defined in separate stages. After reading the documentation, it appears the only way to share the artifacts between jobs in different stages is to mark them as Shared in the Artifacts tab. However, our artifacts are very large, so publishing them to the bamboo server from the agent takes several minutes. Are there any features presently or in development to allow the sharing of artifacts locally on the build agent without publishing/uploading to the bamboo server? I realize this might restrict the plan to a single agent.
Community moderators have prevented the ability to post new answers.
AFAIK currently this is not possible. Jobs can be run in parallel on many agents. That's why artifacts must be uploaded to the server and downloaded back to agents.
If your build is run only on one agent you can use its filesystem directly to avoid copying.
Have you considered using the script task to store it in a temporary location and reading it from there in the next stage? This will keep the artifact in the agent itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I should've been more clear - that's what we're currently doing. We have a temp folder It feels like a bit of a "hack", though, since the best practices only mention the sharing of artifacts, which get published to the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hacks, best practices.. there is a bit of gray area in between ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.