Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2775

Allow hiding INFO nx:zipdiff commands from output

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      DevTools-08, DevTools-09

      Description

      When building marketplace packages, the zipdiff command can be very verbose, see sample attached file with complete output extracted from https://qa.nuxeo.org/jenkins/view/P1Fail/job/master/job/addons_FT_nuxeo-dam-master/1782/consoleText: addons_FT_nuxeo-dam-master-1782-console.txt

      Extract:

      dam-assembly.build:
      [INFO]     [mkdir] Created dir: /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr
      [INFO]     [mkdir] Created dir: /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace
      [INFO]      [copy] Copying 2 files to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace/install
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace/install
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target
      [INFO]      [copy] Copying 8 files to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr/bundles
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr/lib
      [INFO]       [zip] Building zip: /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr-server-6.5.0-SNAPSHOT.zip
      [INFO] [artifact:attach] Attaching /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr-server-6.5.0-SNAPSHOT.zip to MavenProject: org.nuxeo.marketplace.dam:marketplace:6.5.0-SNAPSHOT @ /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/pom.xml
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-dam-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-audio-core-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-imaging-convert-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-imaging-core-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-video-api-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-video-convert-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: bundles/nuxeo-platform-video-core-11.1-SNAPSHOT.jar
      [INFO] [nx:zipdiff] Only in nxr-server-6.5.0-SNAPSHOT.zip: lib/jaudiotagger-2.0.3.jar
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/aws/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/aws/nxserver/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/aws/nxserver/config/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/client/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/client/scripts/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/conf/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/conf/Catalina/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/conf/Catalina/localhost/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/nxserver/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/nxserver/config/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/webapps/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common-base/webapps/ROOT/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/META-INF/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/META-INF/templates/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/bundles/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/config/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/config/mbeans/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/lib/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/common/plugins/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/custom/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/custom/bundles/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/db2/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/default/
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-11.1-SNAPSHOT.zip: templates/default/nxserver/
      
      [...]
      
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/oracle-quartz-cluster/bin/create-quartz-tables.sql
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/oracle-quartz-cluster/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/oracle-quartz-cluster/nxserver/config/quartz.properties
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/oracle/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/oracle/nxserver/hibernate.properties
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/perf/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/perf/nxserver/config/audit-config.xml
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/perf/nxserver/config/bulk-perf-config.xml
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/perf/nxserver/config/no-thumbnail-config.xml
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/postgresql-quartz-cluster/bin/create-quartz-tables.sql
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/postgresql-quartz-cluster/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/postgresql-quartz-cluster/nxserver/config/quartz.properties
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/postgresql/lib/postgresql-42.2.5.jar
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/postgresql/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/redis/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/redis/nxserver/config/redis-config.xml.nxftl
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/sdk/nuxeo.defaults
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: templates/sdk/nxserver/config/seam-debug.properties
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: test-artifacts-jsf-ui.properties
      [INFO] [nx:zipdiff] Only in nuxeo-nxr-server-jsf-ui-11.1-SNAPSHOT.zip: test-artifacts-server.properties
      [INFO]     [unzip] Expanding: /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/nxr-jsf-6.5.0-SNAPSHOT.zip into /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace/install
      [INFO] Managed version set on org.nuxeo.dam:nuxeo-dam-web-ui:jar:11.1-SNAPSHOT
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace/install/bundles-web-ui
      [INFO]      [copy] Copying 1 file to /opt/jenkins/workspace/master/addons_FT_nuxeo-dam-master/marketplace/target/marketplace
      [INFO] Serialize: DocType: AssetsSearch
      [INFO] Serialize: DocType: Audio
      

      (output cut because even jira complains about it: "The entered text is too long. It exceeds the allowed limit of 32,767 characters.")

      The zipdiff output "Only in" can be filtered out (or moved to a lower log level)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: