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

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

刘航 June 3, 2018

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
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 7, 2018

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
AUG Leaders

Atlassian Community Events