Closed Bug 1522891 Opened 7 years ago Closed 7 years ago

allow JSON-e in a hook to decide not to create a task

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

References

Details

A hook template that looks something like

$if: firedBy == 'pulseMessage'
then:
  ... // task definition

should not error out in the case where the $if condition evaluates to false -- it should just not actually create a task.

Blocks: 1225243
Blocks: 1204891
Error executing operation

While firing hook:

TypeError: Cannot read property 'status' of undefined

so, not done yet..

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Hooks → Services
You need to log in before you can comment on or make changes to this bug.