Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Passing information between stages

Ricardo Mayerhofer July 12, 2011

Hi all,

In bamboo, beside artifacts, we need to share information between stages e.g. package name. These information are generated by a specific stage and should be passed to another stage.

What is the best way to handle this situation? Is there a way to set the value for a plan variable from a job so it's possible to use it in a job from another stage?

2 answers

0 votes
ReneR
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2011

All 'Shared Artifacts' are stored on the server, not on the agents. After your build runs, any artifacts set as 'shared' get sent back to the server and stored in the server's artifact folder.

What VCS system are you using? You could accomplish the same by applying a 'tag' or 'label' to a specific file and committing the change.

Or in Subversion, you can set svn:properties.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2011

You can share files between stages - using the 'shared artifacts' feature.

It should be easy to share any kind of information in this way.

bjartenilsen October 12, 2011

Does this apply if jobs runs on different agents? To me this seems to be a named reference to a file on filesystem where job A runs. Job B doesn't nessesary run on same agent.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2011

Yes, it works. Bamboo makes sure that the file is available no matter where/when the jobs were run.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events