screwdriver-coverage-sonar 4.3.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands.txt +1 -1
- package/package.json +9 -9
package/commands.txt
CHANGED
|
@@ -8,7 +8,7 @@ VERSION=`cat sonar-project.properties | awk -F= '/sonar.projectVersion=/{print $
|
|
|
8
8
|
PROJECT_VERSION=${VERSION:='not provided'}
|
|
9
9
|
SONAR_OPTIONS=`eval echo "$SD_SONAR_OPTS"`
|
|
10
10
|
if echo $SCM_URL | grep git@ > /dev/null 2>&1; then export SONAR_SCM_URL=`echo $SCM_URL | sed -e 's/:/\//g' | sed -e 's/git@/https:\/\//g'`; else export SONAR_SCM_URL=${SCM_URL}; fi
|
|
11
|
-
if [ ! -z "$SD_SELF_SONAR_HOST" ]; then SCANNER_OPTION='"-Dsonar.host.url=$SD_SELF_SONAR_HOST" "-Dsonar.
|
|
11
|
+
if [ ! -z "$SD_SELF_SONAR_HOST" ]; then SCANNER_OPTION='"-Dsonar.host.url=$SD_SELF_SONAR_HOST" "-Dsonar.token=$SONAR_TOKEN" "-Dsonar.projectKey=$SD_SONAR_PROJECT_KEY" "-Dsonar.projectName=$SD_SONAR_PROJECT_NAME" "-Dsonar.projectVersion=$PROJECT_VERSION" "-Dsonar.links.scm=$SONAR_SCM_URL" "-Dsonar.links.ci=$SD_UI_URL/pipelines/$SD_PIPELINE_ID" "-Dsonar.scm.revision=$SD_BUILD_SHA" $SONAR_OPTIONS'; else SCANNER_OPTION='"-Dsonar.host.url=$SD_SONAR_HOST" "-Dsonar.token=$SONAR_TOKEN" "-Dsonar.projectKey=$SD_SONAR_PROJECT_KEY" "-Dsonar.projectName=$SD_SONAR_PROJECT_NAME" "-Dsonar.projectVersion=$PROJECT_VERSION" "-Dsonar.links.scm=$SONAR_SCM_URL" "-Dsonar.links.ci=$SD_UI_URL/pipelines/$SD_PIPELINE_ID" "-Dsonar.scm.revision=$SD_BUILD_SHA" $SONAR_OPTIONS'; fi
|
|
12
12
|
SCANNER_PATH="/opt/sd/sonar-scanner/bin/sonar-scanner"
|
|
13
13
|
if [ -s ${SCANNER_PATH} ] && [ -x ${SCANNER_PATH} ]; then eval $SCANNER_PATH $SCANNER_OPTION || true; exit 0; fi
|
|
14
14
|
OS="$(uname)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screwdriver-coverage-sonar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "SonarQube implementation of the coverage-base class",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"chai": "^4.3.7",
|
|
34
|
-
"eslint": "^8.
|
|
35
|
-
"eslint-config-screwdriver": "^
|
|
34
|
+
"eslint": "^8.57.0",
|
|
35
|
+
"eslint-config-screwdriver": "^8.0.0",
|
|
36
36
|
"mocha": "^10.1.0",
|
|
37
37
|
"mocha-multi-reporters": "^1.5.1",
|
|
38
38
|
"mocha-sonarqube-reporter": "^1.0.2",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"sinon": "^15.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@hapi/hoek": "^
|
|
45
|
-
"joi": "^17.
|
|
46
|
-
"screwdriver-coverage-base": "^
|
|
47
|
-
"screwdriver-logger": "^
|
|
48
|
-
"screwdriver-request": "^
|
|
49
|
-
"uuid": "^
|
|
44
|
+
"@hapi/hoek": "^11.0.7",
|
|
45
|
+
"joi": "^17.13.3",
|
|
46
|
+
"screwdriver-coverage-base": "^4.0.0",
|
|
47
|
+
"screwdriver-logger": "^3.0.0",
|
|
48
|
+
"screwdriver-request": "^3.0.0",
|
|
49
|
+
"uuid": "^11.1.0"
|
|
50
50
|
},
|
|
51
51
|
"release": {
|
|
52
52
|
"debug": false
|