You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using "when" condition in pipelinerun definition we can sometime
get into a situation when a task would be skipped due to "when"
condition but instead it is skipped either by parent is skipped or
result reference is missing. This behaviour has a negative impact on the
rest of the tasks in the pipeline.
A good example of this issue is represented by this pipeline:
A -> B -> C
In case B depends on A's result and both A and B uses when condition
that both evaluates to false the C is automatically skipped with
"Parent Tasks were skipped" even-though C doesn't depend on any previous
results.
With this change both A and B are skipped by evaluating the "when"
condition and C is executed as expected.
This commit address the bug #7680.
Signed-off-by: Ales Raszka <[email protected]>
0 commit comments