Cannot save Bamboo log as artifact

Vince Pastorella April 12, 2022

I have a local version of Bamboo set up and I've been following the directions here to try to save my build log to an artifact.  

I use the code in a script:

curl -u admin:admin http://localhost:6990/download/${bamboo.buildKey}/build_logs/${bamboo.buildResultKey}.log > output.txt

Running the build job gives me an artifact that's 0 bytes


When I set up the Bamboo Artifact the name is output and the copy pattern I've tried *.txt, output.txt and several other versions but nothing gives me the build log output.

Is there something else I need to do to get this working correctly?

1 answer

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2022

Hello @Vince Pastorella

Welcome to Atlassian Community!

Thank you very much for pointing out that issue! We have worked internally and provided an updated version of that KB article. Please follow the instructions and let us know if you find anything unusual.

 

Kind regards,

Eduardo Alvarenga
Atlassian Support APAC

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events