title: How to use GitHub commit message and commit id inside Jenkins pipeline?
body: <p>I am using DevOps model, where i have built a pipeline for code build and deploy.
  In the entire process i want to log the Git commit id and commit message for that specific change commits.</p>
  
  <pre><code>@shruthibhaskar
  shruthibhaskar committed just now 
  1 parent 51132c4 commit aedd3dc56ab253419194762d72f2376aede66a19
  </code></pre>
  
  <p>and commit message and description as below</p>
  
  <pre><code>test commit 3
  
  test commit desc 3
  </code></pre>
  
  <p>how do i access these values of commit inside my jenkins pipeline, where i have configured a webhook for SCM polling?</p>