Receiving the commit id with Jenkins (GitHub plugin)
<p>When we push some changes to github we can use Github services to trigger a build. Does the service provide the commit id?</p>

<p>Do you know how I can get that information?</p>

<p>I need the commit it to trigger the build for that specific id. (Passing the commit id in the field "Branch Specifier (blank for 'any') ").</p>

<p>As described here <a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin-Pushnotificationfromrepository" rel="noreferrer">git plugin</a> but seems I'm not receiving the commit id from git.</p>

<p>I see my commit id in the post build actions, but not at the moment of the cheking out the code.</p>

<p>Thanks in advance.</p>