It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

665 views 2 7
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