[JENKINS-19457] Wrap eval in try-catch to prevent job configuration breakdown
Fixed indentation

Replaced tabs by spaces
[FIXED JENKINS-19457]

Merge remote-tracking branch 'origin/pr/934'