Deployment logs in Bamboo Server

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

The information on this page is an extension to Locating important directories and files in which describes how to identify Deployment logs located in Bamboo home directory.

Solution

Run the following SQL statement against Bamboo's database:

select DP.DEPLOYMENT_PROJECT_ID, DP.NAME,
       DE.ENVIRONMENT_ID, DE.NAME,
       DR.DEPLOYMENT_RESULT_ID, DR.VERSION_NAME
  from DEPLOYMENT_PROJECT as DP
  join DEPLOYMENT_ENVIRONMENT as DE
       on DE.PACKAGE_DEFINITION_ID = DP.DEPLOYMENT_PROJECT_ID
  join DEPLOYMENT_RESULT as DR
       on DR.ENVIRONMENT_ID = DE.ENVIRONMENT_ID;

In response, you should get the following:

DEPLOYMENT_PROJECT_ID

NAME

ENVIRONMENT_ID

NAME

DEPLOYMENT_RESULT_ID

VERSION_NAME

720897

Deployment

851969

Environment

6881281

release-1

720897

Deployment

851969

Environment

6881282

release-2

From the REDGREEN and BLUE from spreadsheet above, we identify the DeploymentResult log file in Bamboo's home directory structure:

<bamboo-home>/xml-data/builds/720897-851969/download-data/build_logs/720897-851969-6881281.log

 

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.