I'm currently using GitHub with a basic Jenkins integration (with the GitHub plugin): each time I push something, my Jenkins tests are triggered and the status is reported to GitHub.
For some dirty reasons (and I know the root cause is here), my tests could randomly fail and then report a failed status to GitHub (which blocked the possibility to merge the PR: and that's the expected behavior).
Do you know if it's possible to relaunch the tests without pushing a new commit? Because I know if I relaunch the tests, they will pass.
At the top of the drop-down menu, click Pull Requests. In the list of pull requests, click the pull request you want to view. Click on the pull request number, to the right of the pull request branch name. To re-run failed checks, click Re-run and select Re-run Failed Checks.
If changes have been made to a pull request that has already been reviewed, you can now re-request a review with a single click in the pull request's sidebar. This will notify the requested reviewers that changes have been made.
Status checks let you know if your commits meet the conditions set for the repository you're contributing to. Status checks are based on external processes, such as continuous integration builds, which run for each push you make to a repository.
Update: you can also push an empty commit to your branch to re-trigger status checks: git commit -m "retrigger checks" --allow-empty
and then git push <branchname>
You can do this by closing and then re-opening the Pull Request. This will cause all status checks to run again on the same commit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With