Bamboo artifacts

I am very new to Bamboo. I have an html file created using log4j. I want to put it in user-defined artifacts, but I don’t know how to do it.

It is located in the surefire-reports folder, so I tried to provide the source directory as "**/target/surefire-reports/" and the Artifact Copy Pattern as "**/*.html" , but it does not work.

Any idea how to set it up?

+4
source share
3 answers

Try changing the copy template to

 *.html 

and check your full path.

+4
source

I wanted to get all the confidence reports for each module, so I created a new Artifact definition with:

  • Name = Surefire Reports
  • Location =
  • Copy template = / target / surefire-reports /.*

It was used by Bamboo 3.2.2.

+1
source

The Location field does not provide Ant with a template for copying files , only a fixed path is accepted relative to the working directory.

Set location as

  target / surefire-reports 
and copy template as
  ** / *. html 

Also make sure that the "Sharing" checkbox is selected, otherwise other tasks will not be able to download the artifact.

0
source

All Articles