Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,598
Community Members
 
Community Events
165
Community Groups

How do I have a file show up in the artifacts tab of a build job?

Edited
The Bamboo build job is a Bash script.

2 answers

I tried that. Did not work. 

Will artifacts be saved on branches?

Trying with the option of "Clean up branch automatically" unchecked, to see if that is the issue.

Hi @Raul Alicea

  • Have you found any errors in the build logs?
    This is the page for the build logs:
    http(s)://<BAMBOO_URL>/browse/<BUILD-KEY>/log
  • In the build log you will be able to find the build working directory. It should be a line like:
    simple 07-Jan-2019 14:01:31 Build working directory is <YOUR_PATH>
    Please navigate to this directory and check if the files used to create the artifact are really there.
  • Please share here your artifact definition configuration. I'll need to check what is the copy pattern used.

Please try to answer in this same thread to avoid multiple separated answers.

I also forgot to answer your question.

Will artifacts be saved on branches?

Yes, every plan branch will have it's own artifacts.

0 votes

Hi @Raul Alicea,

You will need to create an artifact definition at Plan Configuration >> Job >> Artifacts >> Create artifact as described in Configuring a job's build artifacts - Atlassian Documentation.

The artifact definition will basically tell what will be the artifact name, where the files will be located and which ones should be copied.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

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...

947 views 3 8
Read article

Community Events

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

Events near you