-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: NXP-6.0, NXP-7.x, NXP-8.x
-
Component/s: Continuous Integration
-
Epic Link:
-
Tags:
-
Story Points:0
Currently there are functions launched without
|| return 1
This prevents the script from stopping when the issue arises, even though errors are displayed.
For example, during the JAR file mapping, if a dependency is incorrectly downloaded (meaning a distribution archive) then the processing will silently fail:
[jartmp/nuxeo-distribution-tomcat-7.10-HF18.zip] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of jartmp/nuxeo-distribution-tomcat-7.10-HF18.zip or jartmp/nuxeo-distribution-tomcat-7.10-HF18.zip.zip, and cannot find jartmp/nuxeo-distribution-tomcat-7.10-HF18.zip.ZIP, period.
Adding
|| return 1
should be enough.