Can I get access to a folder content using artifacts?

Hey guys, 

I'm returning a html report using an artifact. 

If I add in the filter just the html report, when I click on the report this is returned without applying format. 

If I add in the filter **/*.* it's returning the same report without the folder and files are under the folder I'm adding. 

How can I do it? The only thing I want it's having the html report correctly displayed. 

Thanks in advance, 



1 answer

0 votes

Hello Sendami,

Thank you for your question.

The best way on helping you would be if you provide the build log with the Script task included in it, so I could have a better understanding to the build you are running and the artifact you are attempting on generate. Since the same wasn't provided, I will suggest you on:

  1. please, create a new Plan in Bamboo (i.e.: Artifact)
  2. please, add a Script task

    echo "hello" >> greeting.txt
    mkdir foo
    echo "bar" >> foo/bar.txt

    Screen Shot 2015-03-16 at 6.14.21 PM.png

  3. please, create an Artifact as per following:

    Screen Shot 2015-03-16 at 6.12.57 PM.png


  4. run your build
    Screen Shot 2015-03-16 at 6.15.28 PM.png

Now, when using the Artifact download task you are able to select which artifact you want to download and the location that artifacts will be downloaded to, relative to the build working directory.

Please, refer to the following documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

953 views 3 9
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