How to leverage Bitbucket deployments dashboard when using AWS Codepipeline/Codebuild for CI-CD
Asked by Simran:

We have been using AWS Codepipeline/codebuild for CI-CD and use bitbucket cloud for git provider.

After reviewing this wonderful post, <https://aws.amazon.com/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/>, I was able to set up feedback from AWS codepipeline in bitbucket.

However, nothing shows up in the Deployments dashboard on Bitbucket cloud still. I would love to be able to see our deployment status on deployments dashboard in bitbucket cloud. Is there a way to achieve that as of now ? Is that in the roadmap?


Answers:
author: Caroline R
body: Hi, [@Simran](/t5/user/viewprofilepage/user-id/4383573)!

Thank you for reaching out to Atlassian Community!

Could you please confirm if you have specified a deployment environment in your YAML file? In case you have, would you be able to double-check whether the deployment name is listed in the **Repository Settings** \> **Deployments** settings?

In case you would like to read more about how to set up and monitor deployments, you can access the following link:

* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-monitor-deployments/>

Please, feel free to share any additional questions regarding this case.

Kind regards,  
Caroline

comments: author: Simran
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) Thanks for your response. In the link you shared, it says:

***Add the deployment keyword, followed by the name of the environment, into the relevant step in your bitbucket-pipelines.yml file.***

I do not have a bitbucket-pipelines.yml file because we are using code pipeline/code build for CI-CD. Based on <https://aws.amazon.com/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/>, have been able to have pipeline status posted back to bitbucket from AWS code pipeline, would like to understand how to expand that solution so that it shows up in the deployments as well.


author: Caroline R
body: Hi, [@Simran](/t5/user/viewprofilepage/user-id/4383573)!

Thanks for the additional information. In this case, there is no native way to achieve that, however, you can use the following Pipe to see the deployments:

* [Bitbucket Pipelines Pipe: AWS CodeDeploy](https://bitbucket.org/atlassian/aws-code-deploy/src/master/)

I hope this helps, but do let me know if you have any questions.

Kind regards,  
Caroline


author: Simran
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) Thanks for your response. We are not using codedeploy but codepipeline and codbeuild. Since it's possible to share the pipeline feedback with bucket as documented here, <https://aws.amazon.com/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/> , my understanding is that deployments should be similar as well. Would be great if you could please have this looked into internally? I'll check with AWS support as well. Thanks


author: Caroline R
body: Hi, [@Simran](/t5/user/viewprofilepage/user-id/4383573),

I brought this matter to the developers and they confirmed that Deployments are only available from Pipelines (not available from the [Bitbucket Cloud and Codebuild integration](https://aws.amazon.com/about-aws/whats-new/2017/08/aws-codebuild-now-supports-atlassian-bitbucket-cloud-as-a-source-type/#:~:text=AWS%20CodeBuild%20now%20allows%20you,%2C%20Amazon%20S3%2C%20and%20GitHub)). They suggested that you give a try to Bitbucket Pipelines as it's supported out-of-the-box and provides Deployments support or nice integrations with other Atlassian tools such as Jira, JSM, etc.

As you mentioned you would check with AWS support, I would recommend asking them if it's possible to create a feature request on their side to implement that.

Kind regards,  
Caroline


author: Jeffrey Bistrong
body: [@Simran](/t5/user/viewprofilepage/user-id/4383573) curious if you found a solution for this as I am interested in doing the same thing since we use AWS for CI/CD as well.


author: Simran
body: [@Jeffrey Bistrong](/t5/user/viewprofilepage/user-id/1190841) No solution for JIRA dashboard, Just planning to use Serverless dashboard for the version tracking. Not what I wanted to do, but seems like the way forward for now.


author: Andy Mell
body: Has the bitbucket API endpoint been added yet for us to report deployments from external CI/CD such as codepipeline?


Tags: aws

aws-code

bitbucket-cloud

cloud

continuous-delivery