I can't find variable that tells latest successful deploy git revision.
I want to send notification with list of commits between last build and new build (summary what's new).
Current commit is reachable via BITBUCKET_COMMIT.
Hello,
Pipelines does not currently expose the previous git revision built.
You can get some of this information manually via the Pipelines REST API: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/#get It'll need a little bit of fiddling to get the right information, but it should be possible.
You can open a feature request to support this natively in Pipelines here: https://jira.atlassian.com/secure/CreateIssue!default.jspa
Thanks,
Phil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.