Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Evgeny Baram April 17, 2019

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
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

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
TAGS
AUG Leaders

Atlassian Community Events