How to get commit hash of current Jenkinsfile without checkout?
Either when creating a new plugin or just using groovy in the pipeline, how to get the commit hash of the Jenkinsfile. The commit hash is visible in the logs without using any kind of checkout or command. Example: