jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-57026] commit build status not always reported on github
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
We have set up a GitHub Organization on our jenkins, every commit/pr/branch is being built and the status reported back to github. Sometimes jenkins fails to report the build status of a commit/pr though. Github shows that the task is in Pending state while jenkins has completed the build successfully. (see attached screenshots).
I looked at jenkins logs but can't find anything relevant. I've setup a log recorder with log level set to FINE at Manage Jenkins -> System Log with Logger set to org.jenkinsci.plugins.github_branch_source but there is nothing pointing to a problem there either. Any help would be greatly appreciated.
Regards
Atanas
---
Originally reported by azhelev, imported from: commit build status not always reported on github
Raw content of original issue
We have set up a GitHub Organization on our jenkins, every commit/pr/branch is being built and the status reported back to github. Sometimes jenkins fails to report the build status of a commit/pr though. Github shows that the task is in Pending state while jenkins has completed the build successfully. (see attached screenshots).
I looked at jenkins logs but can't find anything relevant. I've setup a log recorder with log level set to FINE at Manage Jenkins -> System Log with Logger set to org.jenkinsci.plugins.github_branch_source but there is nothing pointing to a problem there either. Any help would be greatly appreciated.
Regards
Atanas
environment
```
official docker image jenkins/jenkins:lts version 2.164.1 running on kubernetes 1.11.8
GitHub Branch Source Plugin 2.4.2
Git plugin 3.9.3
```
2 attachments
- [github-working.png](https://issues.jenkins.io/secure/attachment/46731/github-working.png)
> 
- [guthub-pending-state.png](https://issues.jenkins.io/secure/attachment/46730/guthub-pending-state.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.