File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,9 @@ pipeline {
153
153
sonarscanner_config_file = " ${ sonarscanner_install_dir} /conf/sonar-scanner.properties"
154
154
electron_coverage = " ${ WORKSPACE} /electron/coverage/lcov.info"
155
155
webui_coverage = " ${ WORKSPACE} /webui/coverage/lcov.info"
156
+ electron_sources = " ${ WORKSPACE} /electron/app/**/*"
157
+ webui_sources = " ${ WORKSPACE} /webui/src/**/*"
158
+ wktui_sources = " ${ electron_sources} ,${ webui_sources} "
156
159
lcov_report_paths = " ${ electron_coverage} ,${ webui_coverage} "
157
160
}
158
161
steps {
@@ -171,6 +174,7 @@ pipeline {
171
174
echo "sonar.c.file.suffixes=-" >> ${ sonarscanner_config_file}
172
175
echo "sonar.cpp.file.suffixes=-" >> ${ sonarscanner_config_file}
173
176
echo "sonar.objc.file.suffixes=-" >> ${ sonarscanner_config_file}
177
+ echo "sonar.sources=${ wktui_sources} >> ${ sonarscanner_config_file}
174
178
cat "${ sonarscanner_config_file} "
175
179
176
180
SONAR_SCANNER_OPTS="-server -Dhttps.proxyHost=${ WKTUI_PROXY_HOST} -Dhttps.proxyPort=${ WKTUI_PROXY_PORT} -Dsonar.login=${ SONAR_AUTH_TOKEN} "
You can’t perform that action at this time.
0 commit comments