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

[CI] Create Single Shared Library for Napps

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      Jenkins
    • Story Points:
      3

      Description

      We have currently  3 commons libraries  files

      they have almost the same content.

      it would be nice to merge them into a single file, hosted into https://github.com/nuxeo/jx-napps-env/tree/master/ci/Jenkinsfiles/common-lib.groovy

       

      the content of the 'common-lib.groovy' under the addon repository can replace by:

       

      #!groovy
      /*
         Instead of duplicating a lot of build related code in each repo include the common one from this file using the command below:
         Don't forget to put configure GITHUB_TOKEN inside Jenkins as it is a very bad idea to include it inside your code.
      */
      
      apply from: 'https://raw.githubusercontent.com/nuxeo/jx-napps-env/master/ci/Jenkinsfiles/common-lib.groovy?token=${env.GITHUB_TOKEN}'
      

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aba Abdoul Ba
                Reporter:
                aba Abdoul Ba
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty