catch detailed error log

--stacktrace/--full-stacktrace options is not working

--info oprion provide number of rows where syntax error defined

ex:
WITHOUT --info
'''
Download https://artifactory.mcp.mirantis.net/jcenter/org/apache/ant/ant-antlr/1.9.9/ant-antlr-1.9.9.jar
Compilation failed for [SourceFile[/usr/bin/app/test-func-devops-portal-pipeline.groovy]].
'''
WITH --info
'''
Compilation failed for [SourceFile[/usr/bin/app/test-func-devops-portal-pipeline.groovy]].
Compilation failed because of [org.codehaus.groovy.control.MultipleCompilationErrorsException] with message: [startup failed:
None: 372: expecting EOF, found 'catch' @ line 372, column 7.
       } catch (Throwable e) {
         ^

1 error
]
'''

Change-Id: I08795cdb06fa0c41a86d2446c3d4f152776ec002
1 file changed