nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Variable ${pullRequestCommit} is not set #56

Closed Cherum closed 8 years ago

Cherum commented 8 years ago

As described in this thread, the variable ${pullRequestCommit} is not set: https://github.com/nemccarthy/stash-pullrequest-builder-plugin/issues/37

According to the answer this should be in the current release, but we have the same problem with the 1.4.2 release.

nemccarthy commented 8 years ago

This should be set and is working in 1.4.2 of the plugin. Please make sure you use; $sourceCommitHash in the notify stash plugin. It is being set by each build in the current install and should work fine. Where are you not seeing it set? The title of that issue is misleading. It should be sourceCommitHash