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

Add JSF UI package changes computing

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NXP-8.x
    • Fix Version/s: NXP-8.x
    • Component/s: Continuous Integration

      Description

      Detects if nuxeo-jsf-ui package has to be released again.

      This could use the same mechanism for making a diff between used libs. (see NXBT-1421)
      The source folder should be nuxeo-distribution/nuxeo-nxr-jsf-ui

      Based on the 3 generated files:

      HF10_jsf_added.out
      HF10_jsf_deleted.out
      HF10_jsfmodified.out
      

      If any of those files is not empty then it means there was a change and the package should be published again.

      Publishing the package should consist in retrieving the newly built JSF package present in the current HF build job archived artifact.

      1. Retrieve the ZIP, for example at this location:
        https://qa2.nuxeo.org/jenkins/view/Depl/job/Deploy/job/IT-release-on-demand-build-nx810/39/artifact/archives/mp-nuxeo-server-8.10-HF11/
      2. Uncompress the ZIP
      3. Retrieve from connect the latest JSF-UI published version (say 8.10.1) (request to be written and executed on the available packages)
      4. modify the package.xml:
        • increase the version in
          <package type="addon" name="nuxeo-jsf-ui" version="8.10-HF11">
        • add a dependency directive on the current HF built:
            <dependencies>
              <package>nuxeo-8.10-HF10</package>
            </dependencies>
          
        • compress the ZIP
        • upload the package ZIP to connect

      The upload has to happen after the current HF is available on connect since there is a dependency.

      An alert should be sent to the support-team channel to make them aware of this.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 30 minutes
                  4h 30m