-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replay in pr-builder pipeline doesn't update GitHub PR status OR restarting a pipeline stage will not update pull request status #756
Comments
After working on this issue for a while and much Google searching I found an alternative which is to manually send status updates to GitHub in the pipeline - using this as a guide KostyaSha/github-integration-plugin#102 (comment) . I have attached a full pipeline example below to help any other poor developers who encounter this issue. Took me all day to figure it out, pipelines are very difficult
|
You can trigger the change to the pr manually by clicking release change in the upper right hand corner of the pipeline execution |
@amleszk . thank you for your code, it helped me a lot. [Set GitHub commit status (universal)] PENDING on repos [] (sha:xxxxxxx) with context:test/mycontext |
Re-opening because the issue #674 still occurs. and the solution did not work. Can someone please provide detailed steps if this is fixed? Thank you!
A Little more background:
We are using Github pull request builder to poll a private GitHub repository and using Jenkins pipeline script to execute a multiple-stage pipeline build. When triggering a build via GitHub, the checks are updated on the pull request correctly but when restarting the pipeline the checks on the PR are not updated.
We need this to work because sometimes tests get re-tried and disabled a second time. and we do not want to re-run the entire pipeline
The ghprb config is not using web hooks but instead polling the repository
The text was updated successfully, but these errors were encountered: