title: Jenkinsfile build log
body: <p>Is there any builtin variable that gives access to the text of the currently executing build?</p>
  
  <p>I tried using something like <code>currentBuild.log</code>, <code>currentBuild.buildLog</code> but without any luck.</p>