Job Tags available in Failure Hook I'd like to be...
# ask-community
s
Job Tags available in Failure Hook I'd like to be able to access job tags in a failure hook so that they can be added to a Slack notification. The failure hook has access to a
HookContext
. Is there a way to use that to get hold of tags for the job that failed?
y
We currently do not expose this info in
HookContext
but a workaround is to access a private property it from
context._step_execution_context.plan_data.pipeline_run.tags
1