Need to add error handling when interaction with Gitlab curls.
Add simple error handling block within ci script block.