I'm having issues with this on Jenkins 2.7.1, git plugin 2.5.3. I have a plugin installed that builds pull requests from a Stash instances, very similar to the GitHub pull request builder (which is also having issues, see JENKINS-31686). Frequently, but not always, it will instead build an old commit instead of the newest one on the branch. Given that this has been seen across different Git PR plugins, I think the git plugin itself is the culprate.
More info:
Refspec:
Branch Specifier: origin/pr/${pullRequestId}/from
Where
is an environment variable that contains the Stash PR number.
I'm having issues with this on Jenkins 2.7.1, git plugin 2.5.3. I have a plugin installed that builds pull requests from a Stash instances, very similar to the GitHub pull request builder (which is also having issues, see JENKINS-31686). Frequently, but not always, it will instead build an old commit instead of the newest one on the branch. Given that this has been seen across different Git PR plugins, I think the git plugin itself is the culprate.
More info:
Refspec:
Branch Specifier: origin/pr/${pullRequestId}/from
Where
is an environment variable that contains the Stash PR number.