Trivadis / plsql-cop-sonar

db* CODECOP for SonarQube
13 stars 3 forks source link

ERROR: Error during SonarQube Scanner execution #10

Closed sasamaniegoQA closed 1 year ago

sasamaniegoQA commented 1 year ago

Hello,

I install the plugin for sonarqube today, because we use trivadis with sql developer, but i have this error:

11:21:50.575 ERROR: Error during SonarQube Scanner execution Language of file '2018/11_NOVIEMBRE/28/404123/01_CAT_TRG_ATRIBUTO_OBLIGADO.sql' can not be decided as the file matches patterns of both sonar.lang.patterns.plsql : /*.sql,*/.pks,/*.pkb,/*.pkg and sonar.lang.patterns.plsqlcop : */.sql,/*.prc,/*.fnc,*/.pks,/*.pkb,/*.trg,*/.vw,/*.tps,/*.tpb,*/.tbp,/*.plb,/*.pls,*/.rcv,/*.spc,/*.typ,*/.aqt,/*.aqp,/*.ctx,*/.dbl,/*.tab,/*.dim,*/.snp,/*.con,/*.collt,*/.seq,/*.syn,/*.grt,*/.sp,/*.spb,/*.sps,*/.pck,/*.md,*/.mdown 11:21:50.576 DEBUG: Execution getVersion 11:21:50.576 DEBUG: Execution stop ERROR: Job failed: exit status 1

can you help me.

Thanks a lot.

Susana

PhilippSalvisberg commented 1 year ago

It looks like you already have configured a PL/SQL plugin. SonarQube does not support to configure extensions for multiple files. Hence this error message. However, you can install the secondary plugin as described here: https://github.com/Trivadis/plsql-cop-sonar#secondary-plugin . This way the configured extensions are processed by both plugins.

PhilippSalvisberg commented 1 year ago

I'm closing this issue due to inactivity.