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

Is there a way to show message on Bitbucket Deployments dashboard from pipeline? Edited

I'm trying to integrate the Bitbucket Deployments feature into my project pipeline. Now my pipeline looks like this:

pipelines:
branches:
release/v*:
- step:
name: Build
script:
# ... do test and build things ...
- step:
name: Deploy
deployment: test
script:
- export BRANCH_TAIL=${BITBUCKET_BRANCH/*\//\/}
- export RELEASE_VERSION=${BRANCH_TAIL:2}
- export VERSION=${RELEASE_VERSION}.${BITBUCKET_BUILD_NUMBER}
# ... publishing package with version ${VERSION} ...
- git tag -m "v${VERSION} published" v${VERSION}
- git push origin v${VERSION}

In short:

  1. Build project;
  2. Deploy it using version with BITBUCKET_BUILD_NUMBER;
  3. Add git tag to commit (e.g. "v1.0.14").

Is there a way to display some message on successful deployment in the Deployments Dashboard (like "Package v1.0.14 was successfully published")? Now there are only build number (e.g. "#14") and commit message (without tag):

deployments_dashboard.png

1 answer

0 votes

Hello Evgeny,

Currently we only show the information in your screenshot on the deployment card. But, I think it's a good use idea to be able to customise the message shown.

Can you open a feature request, so that our product managers can track demand and use-cases for this.

Thanks,

Phil

Suggest an answer

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

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,011 views 4 22
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