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,603
Community Members
 
Community Events
165
Community Groups

How can a HTML file artifact finds the Javascript files it requires?

Hi,

I have a build task that generates a HTML report and also the Javascript files required by this HTML file. I've set both the HTML report and the Javascript files as artifacts. However, seems like the HTML file cannot find the Javascript files, since it doesn't render properly.

Any idea what I might do wrong here?

1 answer

1 accepted

1 vote
Answer accepted

Hi 刘航,

Bamboo creates a different folder inside the file system for each artifact definition, if you want to have both in the same folder, you can move the HTML and the js file to an exclusive path (e.g. /buildDir/webpage) during the build and then use a broader copy pattern like *.*

thanks

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