ERROR: Couldn’t find any revision to build

Dear All,
My situation also some what similar with pipeline script. Any support on this will be helpful.
I have created a multibranch pipeline. All the branches are building fine, whereas when it comes to pull-request. I get the following error:

git rev-parse origin/PR-13^{commit} # timeout=10
git rev-parse PR-13^{commit} # timeout=10
[Bitbucket] Build result notified
[Office365connector] No webhooks to notify
ERROR: Couldn’t find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE

The setup used are:

Bitbucket plugin - 1.1.8
Bitbucket branch source - 2.9.1
Jenkins - 2.263.1
Bitbucket Server - v7.17.0

Not sure what is going wrong.

Appreciate any advice on the same.

–prabs003

Hi if you use in jenkin in window platfrom then use on below

// To run Maven on a Windows agent, use
bat “mvn -Dmaven.test.failure.ignore=true clean package”