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

[CI] Add Generic Maven Job to the Shared Library

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Tags:
    • Story Points:
      2

      Description

      Move all Jenkins job content into the shared library instead of duplicating the content in several repositories.

      Describe all maven steps using workflow.yaml

      lint: 
        enable: true
        allowFailure: true
      preview: 
        enable: true
      publish: 
        connect: true
        github: true
      runFtest: 
        enable: true
      runUtest: 
        enable: true
        backend: true
        frontend: true
        # multipleEnv: true
      mcontainers: 
        dev: 'maven'
        mongodb: 'maven-mongodb'
        pgsql: 'maven-pgsql'
      targetTestEnvs: 
        - dev
        - mongodb
        - pgsql
      

       
      The Jenkins file should look like

      /* Using a version specifier, such as branch, tag, etc */
      @Library('nuxeo-napps-tools@PR-6') _
      
      buildMaven('nuxeo-coldstorage', 'builder-maven-nuxeo-11', 'maven', '2021.6', 'lts-2021', 'ci/workflow.yaml')
      
      

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: