-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: NXP-8.x, NXP-9.x, NXP-10.x, NXP-11.x
-
Component/s: HotFix factory
-
Sprint:nxsupport 11.1.1
-
Story Points:1
The following commit triggers the inclusion of marklogic bundle:
https://github.com/nuxeo/nuxeo-core-storage-marklogic/commit/1ef1483571f6fbab6758ba719d9dfc056bbcdcc5
In compute log, one can find the following:
[16:24:01][getBundlesFromAddons] dir = nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddons] retrieving bundles from nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddon] [BEGIN] [16:24:01][getBundlesFromAddon] PRODUCT_VERSION=10.10 [16:24:01][getBundlesFromAddon] HF_BEGIN_VERSION=00 [16:24:01][getBundlesFromAddon] HF_END_VERSION=01 [16:24:01][getBundlesFromAddon] pwd=/opt/jenkins/workspace/Deploy/IT-HF-pkg-build-nightly-1010/nuxeo/addons-core/nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddons] dir = nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddons] retrieving bundles from nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddon] [BEGIN] [16:24:01][getBundlesFromAddon] PRODUCT_VERSION=10.10 [16:24:01][getBundlesFromAddon] HF_BEGIN_VERSION=00 [16:24:01][getBundlesFromAddon] HF_END_VERSION=01 [16:24:01][getBundlesFromAddon] pwd=/opt/jenkins/workspace/Deploy/IT-HF-pkg-build-nightly-1010/nuxeo/addons-core/nuxeo-core-storage-marklogic [16:24:01][getModifiedFilesFromRepo] [BEGIN] [16:24:01][getModifiedFilesFromRepo] PRODUCT_VERSION=10.10 [16:24:01][getModifiedFilesFromRepo] HF_BEGIN_VERSION=00 [16:24:01][getModifiedFilesFromRepo] HF_END_VERSION=01 [16:24:01][getModifiedFilesFromRepo] PWD=/opt/jenkins/workspace/Deploy/IT-HF-pkg-build-nightly-1010/nuxeo/addons-core/nuxeo-core-storage-marklogic [16:24:01][getModifiedFilesFromRepo] HF_BEGIN_TAG=release-10.10 [16:24:01][getModifiedFilesFromRepo] HF_END_TAG=release-10.10-HF01 [16:24:01][getModifiedFilesFromRepo] BEGIN_TAG_EXISTS=1 [16:24:01][getModifiedFilesFromRepo] END_TAG_EXISTS=1 [16:24:01][getModifiedFilesFromRepo] BUNDLES_RESULT=README.md pom.xml README.md pom.xml [16:24:01][getModifiedFilesFromRepo] [END] [16:24:01][getPomBundle] [BEGIN] [16:24:01][getPomBundle] ARTIFACT_FOLDER = /opt/jenkins/workspace/Deploy/IT-HF-pkg-build-nightly-1010/nuxeo/addons-core/nuxeo-core-storage-marklogic [16:24:01][getPomBundle] ARTIFACT_FILENAME = pom.xml [16:24:01][getPomBundle] ARTIFACT_LOCATION = /opt/jenkins/workspace/Deploy/IT-HF-pkg-build-nightly-1010/nuxeo/addons-core/nuxeo-core-storage-marklogic/pom.xml [16:24:01][getPomBundle] ARTIFACT_ID = [16:24:01][getPomBundle] GROUP_ID = [16:24:01][getPomBundle] GROUP_ID (before if) = org.nuxeo.ecm.core [16:24:01][getPomBundle] GROUP_ID (after if) = org.nuxeo.ecm.core [16:24:01][getPomBundle] ARTIFACT_ID = nuxeo-core-storage-marklogic [16:24:01][getPomBundle] result = org.nuxeo.ecm.core:nuxeo-core-storage-marklogic [16:24:01][getPomBundle] [END] [16:24:01][getBundlesFromAddon] BUNDLES_RESULT [BEGIN] [16:24:01][getBundlesFromAddon] org.nuxeo.ecm.core:nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAddon] BUNDLES_RESULT [END] [16:24:01][getBundlesFromAddon] [END] [16:24:01][getBundlesFromAddons] [END] [16:24:01][getBundlesFromAllRepos] ADDONS_CORE_BUNDLES [BEGIN] [16:24:01][getBundlesFromAllRepos] org.nuxeo.ecm.core:nuxeo-core-storage-marklogic [16:24:01][getBundlesFromAllRepos] ADDONS_CORE_BUNDLES [END] [16:24:01][getBundlesFromAllRepos] [END]
this currently results in the inclusion of the marklogic bundle when it should not:
[16:24:01][computeBundles] adding element for modified bundles
[16:24:01][computeBundles] Checking org.nuxeo.ecm.core:nuxeo-core-storage-marklogic
[16:24:01][computeBundles] JAR_FILE_NAME=nuxeo-core-storage-marklogic-10.10(-HF[0-9][0-9])?.*.jar
[16:24:01][computeBundles] JAR_PATH_NAME=nxserver/bundles/nuxeo-core-storage-marklogic-10.10.jar
[16:24:01][computeBundles] JAR_FOLDER_NAME=nxserver/bundles
pom.xml is already filtered in getBundlesFromAddon:
if getModifiedFilesFromRepo "$@" | sed '/-test\//d;/-tests\//d;/^ftest\//d;/\/ftest\//d;/^test\//d;/\/test\//d;/nuxeo-distribution\/.*\/templates/d;/pom.xml/d;/^scripts/d' | grep -q $; then
- is related to
-
NXP-22177 Release script must not replace all version occurences in all files
- Open