From 98992044cab5f4fe11fe7ae7796c4816fa5b65af Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Tue, 26 Jul 2022 15:25:29 +0800 Subject: [PATCH] only show error log in sdk automation pipeline (#22585) --- swagger_to_sdk_config.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/swagger_to_sdk_config.json b/swagger_to_sdk_config.json index 59d342d7c396..8206c7c6532e 100644 --- a/swagger_to_sdk_config.json +++ b/swagger_to_sdk_config.json @@ -6,16 +6,17 @@ }, "initOptions": { "initScript": { - "path": "sh .scripts/automation_init.sh" + "path": "sh .scripts/automation_init.sh", + "stderr": { + "showInComment": ".*ERROR.*" + } } }, "generateOptions": { "generateScript": { "path": "sh .scripts/automation_generate.sh", "stderr": { - "showInComment": "^\\[AUTOREST\\]", - "scriptError": "^\\[ERROR\\]", - "scriptWarning": "^\\[WARNING\\]" + "showInComment": ".*ERROR.*" } }, "parseGenerateOutput": true