Using environment variables from context in job from orb

I’ve ben going through and trying to create a common orb to share between a bunch of our projects and I am stuck trying to get a job to get access to a variable that is set in the context. Is this something that is not allowed?

In my orb job:

parameters:
  circle-token:
  type: env_var_name
  default: CIRCLE_TOKEN

But when I echo the value, its always blank.

Doh! It was my fault. I was using the wrong variable name. :man_facepalming:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.