Sometimes the Web UI build produces corrupted jars due to
[exec] [17:46:37] Using gulpfile ~/workspace/master/addons_nuxeo-web-ui-master/gulpfile.js 17:46:37 [exec] [17:46:37] Starting 'clean'... 17:46:37 [exec] [17:46:37] Finished 'clean' after 11 ms 17:46:37 [exec] [17:46:37] Starting 'build'... 17:46:37 [exec] [17:46:37] Starting 'merge-message-files'... 17:46:38 [exec] [17:46:37] Finished 'merge-message-files' after 171 ms 17:46:38 [exec] [17:46:37] Starting 'polymer-build'... 17:46:38 [exec] (node:127294) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unable to get document elements/nuxeo-app.html: Document not found: elements/nuxeo-app.html 17:46:38 [exec] [17:46:38] gulp-imagemin: Minified 0 images
This is visible in some builds on Jenkins (cleaning the workspace solves the issue) even if the build succeeds. Sometimes it can also be reproduced locally when doing mvn clean install.