title: Publish Jenkins Job build status to Gitlab commit with Jenkins Pipeline job
body: <p>I have integrated my Gitlab CE version 9.3.5 with jenkins version 2.60.1 . </p>
  
  <p>I am able to trigger builds with Gitlab webhook and publish the result back to the commit with a jenkins freestyle job. </p>
  
  <p>I was wondering how can i achieve the same with jenkins pipeline job as every article on the above integration works with jenkins freestyle job.</p>