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
@n3wt0n We have a scenario where 2 decorators are getting injected in our pipelines from 2 different extensions. The problem statement is we want say 1st decorator to check what all tasks are injected by 2nd decorator and then take a decision whether to let 2nd decorator run or fail the build based on tasks.
Is there a way to control this behavior based on our business case?
Can you please suggest asap as it is a blocker for us.
The text was updated successfully, but these errors were encountered:
kriti218
changed the title
How to control multiple decorators in pipeline
Help Needed ! How to control multiple decorators in pipeline
Mar 30, 2022
Hey sorry for the super delay, I've somehow missed this...
Unfortunately, there is no way to achieve what you need.
Decorators are injected at runtime, so that is the first issue.
Also, there is no way for a decorator to "know" what other parts of the pipeline will do, they can only access the context of the pipeline and the variables.
@n3wt0n We have a scenario where 2 decorators are getting injected in our pipelines from 2 different extensions. The problem statement is we want say 1st decorator to check what all tasks are injected by 2nd decorator and then take a decision whether to let 2nd decorator run or fail the build based on tasks.
Is there a way to control this behavior based on our business case?
Can you please suggest asap as it is a blocker for us.
The text was updated successfully, but these errors were encountered: