The "|| exit 1" is superfluous, the grep failing on its own is enough to fail the job
Otherwise looks good as a rule
The "|| exit 1" is superfluous, the grep failing on its own is enough to fail the job
Otherwise looks good as a rule