When Bitbucket Branch Plugin cannot do lightweight checkout for Jenkinsfile for Pull Request.
I configured my PR strategy to Build Pull Request Revision.
I am getting the following exception:
ERROR: Could not do lightweight checkout, falling back to heavyweight
java.io.FileNotFoundException: URL: /rest/api/1.0/projects/sample/repos/sample-repo/browse/Jenkinsfile?at=PR-62&start=0&limit=500
and switches to heavy checkout.