Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,345
Community Members
 
Community Events
165
Community Groups

Bamboo Deployment result not in logs

I'm using Splunk to to ingest Bmaboo logs, but have noticed that deployment results aren't logged. Here is an example of what is logged after the event:

2019-05-06 10:12:10,999 INFO [9-BuildTailMessageProcessingThread-expensive:pool-16-thread-2377] [DeploymentExecutionServiceImpl] 53477381-125599956-162468176: Finished processing deployment result Deployment of 'DEV-754' on 'DEV'

Is there a way to get Bamboo to log the results of deployments so I can parse it with Splunk? 

1 answer

1 accepted

2 votes
Answer accepted

Hi @Chris Bellar

Thanks for sharing the log message which was very helpful in this case.

According to that message your deployment is running on a remote agent and that is the reason you don't see more log details directly in your server logs. All logs would be there if your deployment was running on a local agent.

 

Where are my deployment logs?

You should be able to find your deployment logs downloaded from the remote agent at:

  • <Bamboo_Home>/xml-data/builds/<DEPLOYMENT_ID>-<ENVIRONMENT_ID>/download-data/build_logs/

The file name will be:

  •  <DEPLOYMENT_ID>-<ENVIRONMENT_ID>-<RESULT_ID>.log

luckily, all the IDs are in the log message you shared as you can see below in bold: 

2019-05-06 10:12:10,999 INFO [9-BuildTailMessageProcessingThread-expensive:pool-16-thread-2377] [DeploymentExecutionServiceImpl] 53477381-125599956-162468176: Finished processing deployment result Deployment of 'DEV-754' on 'DEV'

so this should be the address of your deployment log:

  • <Bamboo_Home>/xml-data/builds/53477381-125599956/download-data/build_logs/53477381-125599956-162468176.log

 

Please let me know if you need any clarifications.

Like Daniel Santos likes this

You are welcome! =]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

909 views 3 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you