After upgrading the Launchable CLI all of our PR builds started failing like this:
10:18:03 + launchable record build --name jenkins-Core-jenkins-PR-8267-1 --source jenkinsci/jenkins=.
10:18:04 Launchable recorded 1 commit from repository /home/jenkins/agent/workspace/Core_jenkins_PR-8267
10:18:04 Can't get commit hash. Do you run command under git-controlled directory? If not, please set a directory use by --source option.
10:18:04 'GIT_LOCAL_BRANCH'
Last working version was 1.66.0.