Optimize file reads in CamBPM jenkins shared lib

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: L3 - Default
    • 7.15.0-alpha3, 7.15.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Context:
      In the CamBPM Jenkins shared library, the cambpmGetMatrixStages method dynamically generates a set of Stages. For this purpose, it utilizes the .ci/config/stage-types.yaml file (through the cambpmGetMavenInfo method).

      Problem:
      The .ci/config/stage-types.yaml file is read every time some Stage information is needed. Since there may be a large number of Stages, the number of reads becomes even larger.

      AC:
      Reduce the number of reads of this file (and possibly the CamBPM shared lib resources/cambpm/config/databases.yaml file).

            Assignee:
            Nikola Koevski
            Reporter:
            Nikola Koevski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: