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,300,274
Community Members
 
Community Events
165
Community Groups

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

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?

1 answer

0 votes
Caroline R Atlassian Team Nov 01, 2021

Hi, @Simran

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:

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

Kind regards,
Caroline 

@Caroline R  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. 

Like Steffen Opel _Utoolity_ likes this
Caroline R Atlassian Team Nov 01, 2021

Hi, @Simran

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:

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

Kind regards,
Caroline 

@Caroline R 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

Like Steffen Opel _Utoolity_ likes this
Caroline R Atlassian Team Nov 02, 2021

Hi, @Simran

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). 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 

@Simran 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. 

@Jeffrey Bistrong  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. 

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,257 views 2 9
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