Declarative Pipeline matrix stages are generated dynamically

XMLWordPrintable

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

      Description:
      The cambpmConditionalRetry step uses stage logs to detect if a know/expected error occurred. If a the error is know/expected, the stage is retried. The logs are obtained by the STAGE_NAME variable.

      Problem:
      The Sidetrack, Daily CE and Daily EE pipelines uses a Jenkins Matrix to dynamically generate matrices. With this method, every dynamically generated stage has the same value for the STAGE_NAME variable. As a result, the stage logs can't be correctly determined and the stage retry can't be correctly invoked.

      Expected:
      The Sidetrack, Daily CE and Daily EE pipelines use the cambpmGetMatrixStages custom step to generate stages dynamically. This will allow it to utilize the cambpmConditionalRetry step correctly.

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

              Created:
              Updated:
              Resolved: