How to configurate bamboo job build log?

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
Accepted answer

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? 

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

193 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you