Ant Quality Gate

That is what our company is using. Could you point me to a guide on setting this up?
Again, I was able to configure it with Jenkins pipeline with waitForQualityGate(), but in this case I’m using a regular Jenkins job.