Contexts not applying

So I am trying to take advantage of contexts for shared variables, but before I do to much work on it I setup a test context and confirm I understand how it all works. However I am unable to get any variables I put into the context to be loaded. the job runs fine and does not error out anywhere as I am just checking to make sure I have obfuscated contents in variables. The context has perms for everyone to access it so I am not sure where the issue is. Below is the config file I am using.

version: 2.1
workflow:
  tester:
    jobs:
      - build:
          context: wschottler

jobs:
  build:
    executor: python_executor
    steps:
      - checkout
      - run:
          name: checking context variable
          command: |
            echo $SHOW_THIS
            printenv

The issue was caused by having workflow instead of workflows

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