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 {
153153 sonarscanner_config_file = " ${ sonarscanner_install_dir} /conf/sonar-scanner.properties"
154154 electron_coverage = " ${ WORKSPACE} /electron/coverage/lcov.info"
155155 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} "
156159 lcov_report_paths = " ${ electron_coverage} ,${ webui_coverage} "
157160 }
158161 steps {
@@ -171,6 +174,7 @@ pipeline {
171174 echo "sonar.c.file.suffixes=-" >> ${ sonarscanner_config_file}
172175 echo "sonar.cpp.file.suffixes=-" >> ${ sonarscanner_config_file}
173176 echo "sonar.objc.file.suffixes=-" >> ${ sonarscanner_config_file}
177+ echo "sonar.sources=${ wktui_sources} >> ${ sonarscanner_config_file}
174178 cat "${ sonarscanner_config_file} "
175179
176180 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