How to configurate bamboo job build log?

Wu.Allen August 16, 2015

Hi Guys,

 

  • I have a requirement about build log of bamboo job ,we need change the build log generate path instead of "bamboohome/xmldate/builds/jobname/download-data/build_logs" into a customer path. How to do that ?
  • Also we need change the build logs name "jobname-build number.log" into "jobname-build date.log" How to do that ?

1 answer

1 accepted

0 votes
Answer accepted
Mike Friedrich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2015

I do not think this possible. You may need to write a plugin, but I don't know if there is even an API for that. Maybe you can copy the file at t the job end, there is a post build plugin which may help.

 

But why do you actually need that? 

Wu.Allen August 16, 2015

Hi Mike, Thank you for kindly reply, I have tried cp the log file by the end task of the job, seems that the file is still be written during cp command execute so you can only get part of the log. I have search the market seems that there is no kind of plugin can do that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events