Your very vague question is hard to give any response to without context.
Jenkins out of the box doesn’t do any quality gates, you need to have some sort of plugin or 3rd party integration to do so. Which means its probably something todo with the configuration of your job, which is where i would look at first. Without any information about what type of job, or what languages your job is using, we also can’t provide any hints in that direction.
Honestly if this was a bug tracker, i’d close this with needs more info.