-
Type: Task
-
Status: Resolved
-
Priority: Critical
-
Resolution: Won't Do
-
Affects Version/s: NXP-6.0, NXP-7.x, NXP-8.x
-
Component/s: Continuous Integration
-
Epic Link:
-
Tags:
-
Story Points:2
Make a diff between HF full build list and HF deployment to quickly detect any wrong configuration in the HF package XML files.
A simple command like the following would help in listing the jars in several folders:
find tomcat-webdriver/nxserver/bundles -name "*.jar" | sort -u | cut -d "/" -f 4 | sed 's/\(.*\)\.jar/\1/' | sed 's/\(.*\)-HF.*/\1/' > tomcat-webdriver_bundles_list.txt
Folders to be checked should be at least:
$NUXEO_HOME/lib $NUXEO_HOME/nxserver/lib $NUXEO_HOME/nxserver/bundles $NUXEO_HOME/templates
Success
- script or function returns 0
- output saying "Identical deployments"
Failure
- script or function returns 1
- list the missing bundles
- list the bundles that shouldn't be deployed and the specific location