forked from srvkmr220319/nodejs-app-mss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.js
29 lines (28 loc) · 948 Bytes
/
sonar-project.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const sonarqubeScanner = require('sonarqube-scanner');
sonarqubeScanner({
#<<<<<<< master
# serverUrl: 'http://65.2.83.58:9000/',
#=======
# serverUrl: 'http://15.206.148.60:9000/',
#>>>>>>> master
options : {
'sonar.projectDescription': 'This is a Node JS application',
'sonar.projectName': 'Node JS Application - Sample',
'sonar.projectKey':'NodeJsMithunTechnologies',
#<<<<<<< master
// 'sonar.login': 'squ_dd9c695804fe2d2f68846dc0fe99b20f7d906d88',
'sonar.login': 'admin',
'sonar.password': 'password',
#=======
# 'sonar.login': 'squ_142ce4d94e9ac7da1944264298805e114a858d89',
//'sonar.login': 'admin',
//'sonar.password': 'admin',
#>>>>>>> master
'sonar.projectVersion':'1.0',
'sonar.language':'js',
'sonar.sourceEncoding':'UTF-8',
'sonar.sources': '.',
//'sonar.tests': 'specs',
//'sonar.inclusions' : 'src/**'
},
}, () => {});