The gitStatusWrapper step wraps a block of commands and handles PENDING/SUCCESS/FAILURE git statuses automatically
gitStatusWrapper
Check documentation here