Lightweight checkout is not working to obtain ciconfig.yml and Jenkins file.
Opened this issue · 0 comments
mkjkec2005 commented
Jenkins and plugins versions report
Environment
Paste the output here
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
- Setup bitbucket team project
- Enable post webhook so that Bitbucket server sends events to Bitbucket branch source plugin for a given repo. Configure event as PR opened.
- Check Jenkins console logs after the PR is opened.
Jenkins 2.391
Bitbucket branch source plugin version: 796.v6cb_1559e1673
Bitbucket server: 7.21.6
Expected Results
Jenkins should use lightweight checkout to obtain ciconfig.yml and Jenkins file.
Actual Results
Jenkins clones entire repository to obtain ciconfig.yml and Jenkins file.
Anything else?
No response