@eui/tools 6.13.10 → 6.13.12
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/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/release/package/common.js +11 -4
- package/scripts/csdr/templates/sonar-project.template +1 -1
- package/scripts/csdr/templates/template-utils.js +2 -2
- package/scripts/utils/sonar/sonar-utils.js +1 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.13.
|
|
1
|
+
6.13.12
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.13.12 (2023-11-24)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* alter source path for SonarQube when subEntries - EUI-8525 [EUI-8525](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8525) ([b2aafac9](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b2aafac9b8dc438b680560200629fadfbf7e50aa))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.13.11 (2023-11-22)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* add pipeline link when launching package build - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([a672c5e6](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a672c5e6b53110aed4dfde159fd510f88c28a222))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.13.10 (2023-11-22)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -129,16 +129,23 @@ module.exports.init = (pkg, envTarget, compositeType) => {
|
|
|
129
129
|
launchMessage += ` Launching *${pkg.name}* release for branch *${branches.branch}*`;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
if (pipelineId) {
|
|
133
|
-
launchMessage += `==> Gitlab pipeline ID : *${pipelineId}*`;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
132
|
return utils.notification.package.sendPackageMessage({
|
|
137
133
|
package: pkg,
|
|
138
134
|
text: launchMessage
|
|
139
135
|
});
|
|
140
136
|
})
|
|
141
137
|
|
|
138
|
+
.then(() => {
|
|
139
|
+
if (pipelineId) {
|
|
140
|
+
const launchMessage = `:arrow_forward: :arrow_forward: Pipeline ID : https://gitlab.ecdevops.eu/eui/cc-csdr-root/-/pipelines/${pipelineId}`;
|
|
141
|
+
|
|
142
|
+
return utils.notification.package.sendPackageMessage({
|
|
143
|
+
package: pkg,
|
|
144
|
+
text: launchMessage
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
})
|
|
148
|
+
|
|
142
149
|
.catch((e) => {
|
|
143
150
|
throw e;
|
|
144
151
|
})
|
|
@@ -66,7 +66,7 @@ const generateMavenSettings = (userName, userPassword, outputPath) => {
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
const generateSonarPropertiesUI = (pkgName, pkgVersion, outputPath) => {
|
|
69
|
+
const generateSonarPropertiesUI = (pkgName, pkgVersion, outputPath, hasSubEntries = false) => {
|
|
70
70
|
tools.logInfo('Generating sonar property file for UI package...');
|
|
71
71
|
|
|
72
72
|
const outputFilePath = path.join(outputPath, 'sonar-project.properties');
|
|
@@ -91,7 +91,7 @@ const generateSonarPropertiesUI = (pkgName, pkgVersion, outputPath) => {
|
|
|
91
91
|
})
|
|
92
92
|
.then(() => {
|
|
93
93
|
tools.logInfo('Replace project package path...');
|
|
94
|
-
return tools.replaceInFile(outputFilePath, '@project.path@', outputPath);
|
|
94
|
+
return tools.replaceInFile(outputFilePath, '@project.path@', outputPath + hasSubEntries ? '' : '/src/lib/');
|
|
95
95
|
})
|
|
96
96
|
.then(() => {
|
|
97
97
|
tools.logInfo('Replace project lcov root path...');
|
|
@@ -109,7 +109,7 @@ const runUI = (pkg, isMaster) => {
|
|
|
109
109
|
})
|
|
110
110
|
.then((gitShortHash) => {
|
|
111
111
|
return templateUtils.generateSonarPropertiesUI(
|
|
112
|
-
pkg.name, gitShortHash, pkg.paths.root
|
|
112
|
+
pkg.name, gitShortHash, pkg.paths.root, !pkg.build.sourceRootDefault
|
|
113
113
|
);
|
|
114
114
|
})
|
|
115
115
|
.then(() => {
|