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
diff --git a/jenkins/client/job/test_pipelines.yml b/jenkins/client/job/test_pipelines.yml
index d0f0a6e..822084d 100644
--- a/jenkins/client/job/test_pipelines.yml
+++ b/jenkins/client/job/test_pipelines.yml
@@ -46,7 +46,7 @@
default: "niaquinto/gradle"
GRADLE_CMD:
type: string
- default: "check"
+ default: "check --info"
DEFAULT_GIT_URL:
type: string
description: "Run against alternate system reclass"