Closed Yethal closed 1 year ago
@Yethal This plugin doesn't handle that particular jenkins status check. So if you attempt merge the PR within a stage that has a rule requiring this check it will fail. It's annoying a workaround is to add your own status check that you control in your own pipeline and remove the branch rule that requires that status check.
Jenkins and plugins versions report
not relevant
What Operating System are you using (both controller, and any agents involved in the problem)?
not relevant
Reproduction steps
Expected Results
Pull request gets merged if all pipeline steps were successful
Actual Results
Merge fails because required status check Jenkins is still pending. The problem here is that the api call that sets the status of the Jenkins check is sent after the entire pipeline has been completed and not after all stages have been completed but before the post block kicks in.
Anything else?
No response