Changing job excecution status to 'FAILED' in case of exception

Change-Id: Iabf3cffbfda7fe9fd2215fbdaf9a596b08d5bbde
Closes-Bug: #1306720
Closes-Bug: #1317205
Merge "Changing job excecution status to 'FAILED' in case of exception"