forked from Gitlink/forgeplus
Compare commits
3 Commits
293df3bdce
...
4c58583ecd
Author | SHA1 | Date |
---|---|---|
|
4c58583ecd | |
|
d86d7f5d3e | |
![]() |
a2ab42f392 |
|
@ -67,6 +67,10 @@ class Api::V1::SonarqubesController < Api::V1::BaseController
|
|||
#{sonar_content}
|
||||
EOF
|
||||
|
||||
- name: new build_tmp_folder
|
||||
run: |
|
||||
mkdir build_tmp_folder
|
||||
|
||||
- name: SonarQube Scan
|
||||
uses: #{scanner_url}
|
||||
env:
|
||||
|
|
|
@ -19,6 +19,7 @@ module SonarService
|
|||
lines << " sonar.exclusions=**/test/**,**/tests/**,**/vendor/**,**/node_modules/**,**/__pycache__/**"
|
||||
|
||||
if detected_langs.include?(:java)
|
||||
lines << " sonar.java.binaries=build_tmp_folder"
|
||||
lines << " sonar.language=java"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue