it is possible to hide some artifacts from build results?

Hi. I am create this structure:

Job "Build solutuin" collect binaries for deployment archive and tests to artifacts.

Job "Business logic testing" and "Data access testing" download shared artifacts from "Build solution" job, and use it.

Job "Package and Utils" download artifacts from "Build solution" job for collect the archive according to certain rules. I don't want to prepare deployment archive before testing, it is logical.

Question: How can I use binaries from first stage in last stage, that the user not see them?

P.S. Maybe bamboo can create internal artifact, for jobs only, not for users? or bamboo may hide some artifacts?

P.P.S. Now last job download artifacts from first job, and create own artifacts (zip archive). And user after build see shared artifacts from first stage and from last stage. I would like to user see only needed artifacts.

2 answers

1 accepted

My opinion:

  1. checkout
  2. build (collect test binaries as artifacts)
  3. deploy to QA/dev
  4. test QA/dev
  5. deploy to Staging/prod
  6. test Staging/prod

But in this case I shoul have ability to automatically deploy app to server.

In real case I haven't this ability. (we use "jump" host for deploy package to ec2 machines which do not have the Internet connection directly)

Vladimr,

One option is to have the first stage copy the "artifacts" (don't save in bamboo) to another location (e.g. another location on build server, a secured location on shared drive or even check it into source control). This process and configuration would obviously be invisible to the user, and only the last stage would know where to retrieve artifacts.

Hope that helps!

Ron

Ron,

I think it's not a very good option, because problems with the local network can make red build. I also need to create a structure of folders and files in another location, any changes into - red build.

I thought about it, really.

I had 2 choices:

1. Make a dependent plan, which would collect artifacts and pack them in an archive.

2. Re-build the project in the last step of this plan, compress files in bin folder and create target artifacts.

P.S. Maybe I have the wrong structure of the plan?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,319 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you