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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Artifacts Issue Edited



I know my step produces artifacts. I know they are located here:


from using command `echo "$(realpath $1/$1)"`

confirmed with ls `$1/$1`


They aren't showing up in the artifacts tab in the UI. They show up in the artifacts tab when i just comment everything below  `cd doc && make html 2>&1`


The create_doc file was adapted from a reference implementation for travis



my issue appears related to how the artifacts spec is parsed in the yaml. The artifacts tab shows up if i explicitly set branch name like:

- doc/master/master/**


2 answers

1 accepted

0 votes
Answer accepted

@gdmacmillan , I can't guarantee that my answer is 100% correct, but the reason for such behavior might be that some libraries and tools don't expand bash variables when evaluating glob patterns. So basically your doc/$BITBUCKET_BRANCH/** doesn't expand to doc/master/<whatever> when you define an artifact. I can envision a simple workaround with using only a doc/** as an artifact definition. In that case there is no expansion needed and artifacts will still be present. Let me know if this works for you.

That actually did it. I could have sworn i tried that before but oh well. Many thanks

Like Alexander Zhukov likes this

@Alexander Zhukov I know you helped me with a previous question, hopefully you can help solve this as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,808 views 64 20
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