Add a custom pipeline stage:
Check it out on the Pipeline tab of your job: