Related to INFRA-1333
The optimization for scanning when limited to a single PR will always return the PR even when closed which is a deviation from open-ended scanning
Give plugin maintainers build permission on ci.jenkins.io
Code changed in jenkins
User: Stephen Connolly
[FIXED JENKINS-47775] Respect contract for a single PR fetyche when the PR is closed
Released in 2.2.5.