You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
Open pull requests are well supported by the selection of variables available, but there doesn't appear to be a variable to retrieve the commit hash of the merge commit that is created when you merge a pull request.
I need this variable in order to make a request to Jenkins to build merged pull requests, because I'd like to specify the exact commit hash of the merged branch, rather than just use the branch name of the branch that the pull request was merged into (which could be modified before Jenkins gets chance to fetch new changes).
It looks like the commit hash is available from the PullRequestMergedEvent in Bitbucket Server (see API docs)
The text was updated successfully, but these errors were encountered:
Open pull requests are well supported by the selection of variables available, but there doesn't appear to be a variable to retrieve the commit hash of the merge commit that is created when you merge a pull request.
I need this variable in order to make a request to Jenkins to build merged pull requests, because I'd like to specify the exact commit hash of the merged branch, rather than just use the branch name of the branch that the pull request was merged into (which could be modified before Jenkins gets chance to fetch new changes).
It looks like the commit hash is available from the
PullRequestMergedEvent
in Bitbucket Server (see API docs)The text was updated successfully, but these errors were encountered: