jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-76228] Jenkinsfile not found for reopened PR on GitHub
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
We are still facing the same issue as JENKINS-54126 even with the fix https://github.com/hub4j/github-api/blob/github-api-1.321/src/main/java/org/kohsuke/github/GitHubClient.java#L778.
I cannot find the log “Encountered GitHub invalid cached 404…” in Jenkins log.
Infra:
Jenkins core 2.504.2
GitHub Branch Source 1822.v9eec8e5e69e3
Reproduce steps:
1. Open a PR
2. Make sure PR has been indexed on Jenkins
3. Close this PR, Scan repository on Jenkins
4. Reopen this PR, scan repository on Jenkins again - and see in logs:
Getting remote pull requests...
Checking pull request #2
‘Jenkinsfile’ not found
Does not meet criteria
---
Originally reported by jenna_chen, imported from: Jenkinsfile not found for reopened PR on GitHub
bitwiseman
Raw content of original issue
We are still facing the same issue as
JENKINS-54126even with the fix https://github.com/hub4j/github-api/blob/github-api-1.321/src/main/java/org/kohsuke/github/GitHubClient.java#L778.
I cannot find the log “Encountered GitHub invalid cached 404…” in Jenkins log.
Infra:
Jenkins core 2.504.2
GitHub Branch Source 1822.v9eec8e5e69e3
Reproduce steps:
1. Open a PR2. Make sure PR has been indexed on Jenkins
3. Close this PR, Scan repository on Jenkins
4. Reopen this PR, scan repository on Jenkins again - and see in logs:
Getting remote pull requests...
Checking pull request #2
‘Jenkinsfile’ not found
Does not meet criteria
environment
```
Jenkins core 2.504.2
GitHub Branch Source 1822.v9eec8e5e69e3
```
Contributor guide
Assessment
This issue has not been assessed yet.