-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Prevent merge of pull request if last multibranch pipeline indicated failure #9882
Comments
The only place I see in Gitea that testing pipeline failure shows up is by clicking through "<> Code" --> Select the branch of the particular PR. It would be most useful if this icon also showed up on pull request page for that branch. |
Are you using the Jenkins Gitea plugin? |
To be clear, I'm sort of expecting a red indicator on either the "Conversation" tab right next to the "Merge Pull Request" button and/or the message there to be different somehow from "This pull request can be merged automatically". And/Or there should be an indicator higher up near the main title (i.e. next to the "#5 ENH: Fail it" in the above figure). |
What version of Gitea are you running? |
Ah, there was the reason. Was still running 1.8.3 binary. Upgraded to 1.10.3 binary and all is well and behaves just as you said. |
I'm using the multibranch pipeline testing with Jenkins. This is working and I get in Gitea a green check if testing has succeeded and a red X if testing has failed. But this is a bit hidden and does not appear on the PR page. Instead we just see "This pull request can be merged automatically." on that page. It would be better if there were some warning "Most recent testing has failed" or to prevent merging of the PR altogether if testing is failing.
The text was updated successfully, but these errors were encountered: