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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.