tektoncd / triggers

Event triggering with Tekton!
Apache License 2.0
558 stars 420 forks source link

How to get the status of each task execution #1753

Open ForcemCS opened 4 months ago

ForcemCS commented 4 months ago

I'm learning about tekton.I already know Trigger, TriggerBindingTriggerTemplate, EventListener. i now have this requirement:

  1. suppose my TriggerTemplate's pipeline is associated with two tasks that send a message to the mailbox when the task execution succeeds, and send a notification to the enterprise microsoft webhook when it fails (which is often used).
  2. how can i get the status information field about the tasks.
  3. is there any example like this for reference
AlanGreene commented 4 months ago

There are many options depending on your specific requirements.

Here's some information on a few of them: