Set CI_JOB_ERROR in after_script with a result of user script
What does this MR do?
adds CI_JOB_ERROR environment variable to
after_script which can be used to find whether the was an error in user script or not
Why was this MR needed?
after_script might want to alter behaviour depending on success/failure of a job