Allow Rebuild to access Context


Currently, Context variables are not available to Rebuilds (or Rebuild with SSH). This makes them pretty useless as the only way to access them is push new code.

The “workaround” for me was to set default in the config or temporarily set them in the project environment and check if the variable is set in your config before using them.



Using the “rebuild” button from the workflow, not the job, should help.

It is still very easier to get this error if one forgets to do that though…