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

Compare full HF build bundles deployment with HF deployment

    XMLWordPrintable

    Details

      Description

      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

      1. script or function returns 0
      2. output saying "Identical deployments"

      Failure

      1. script or function returns 1
      2. list the missing bundles
      3. list the bundles that shouldn't be deployed and the specific location

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ffischer Frantz Fischer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: