Skip to content

Commit 9899204

Browse files
authored
only show error log in sdk automation pipeline (Azure#22585)
1 parent 620da77 commit 9899204

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

swagger_to_sdk_config.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
},
77
"initOptions": {
88
"initScript": {
9-
"path": "sh .scripts/automation_init.sh"
9+
"path": "sh .scripts/automation_init.sh",
10+
"stderr": {
11+
"showInComment": ".*ERROR.*"
12+
}
1013
}
1114
},
1215
"generateOptions": {
1316
"generateScript": {
1417
"path": "sh .scripts/automation_generate.sh",
1518
"stderr": {
16-
"showInComment": "^\\[AUTOREST\\]",
17-
"scriptError": "^\\[ERROR\\]",
18-
"scriptWarning": "^\\[WARNING\\]"
19+
"showInComment": ".*ERROR.*"
1920
}
2021
},
2122
"parseGenerateOutput": true

0 commit comments

Comments
 (0)