Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18324

Variable for short commit hash

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Enhancement proposal for adding env variable for short commit hash in Bitbucket Pipelines, for example BITBUCKET_COMMIT_SHORT.

      I know this can be done manually in the pipeline but I would prefer a built-in solution that takes care of hash collisions.

      I believe there are multiple use cases that could benefit from the short commit hash.

        Attachments

          Activity

            People

            Assignee:
            ayang@atlassian.com Aneita Yang
            Reporter:
            pekka.wallenius peksipatongeis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: