Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-6982

Tasks getting skipped when there is uninitialised task results used in param

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Tasks getting skipped when there is uninitialised task results used in param
      The uninitialized result caused silent failures in when-expressions
      The pipeline appeared to have issues with when-expression evaluation
      No error messages indicated the actual problem (uninitialised result)

      Prerequisites (if any, like setup, operators/versions): 4.16.20/1.16.2

      Steps to Reproduce

      parent task sets empty result

      child task use parent generated result in param value

      Actual results:

      Task get skipped

      Expected results:

      Should throw error that param has empty value

      Reproducibility (Always/Intermittent/Only Once): Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              Unassigned Unassigned
              rhn-support-sburhade Satyam Burhade
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: