This commit is contained in:
parent
0e16025d56
commit
b28915a3a6
@ -35,9 +35,8 @@ steps:
|
||||
- name: code-analysis
|
||||
image: node:20-alpine
|
||||
commands:
|
||||
# Install sonar-scanner globally
|
||||
- npm install -g sonar-scanner
|
||||
# Run sonar-scanner with your parameters
|
||||
- chmod +x /usr/local/lib/node_modules/sonar-scanner/bin/sonar-scanner
|
||||
- sonar-scanner -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.sources=. -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY
|
||||
environment:
|
||||
SONAR_PROJECT_KEY:
|
||||
|
Loading…
x
Reference in New Issue
Block a user