{"action":"created","issue":{"url":"https://api.github.com/repos/buildkite/agent/issues/647","repository_url":"https://api.github.com/repos/buildkite/agent","labels_url":"https://api.github.com/repos/buildkite/agent/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/buildkite/agent/issues/647/comments","events_url":"https://api.github.com/repos/buildkite/agent/issues/647/events","html_url":"https://github.com/buildkite/agent/issues/647","id":294615655,"number":647,"title":"Environment variable substitution stopped working.","user":{"login":"mgoodings","id":1767585,"avatar_url":"https://avatars3.githubusercontent.com/u/1767585?v=4","gravatar_id":"","url":"https://api.github.com/users/mgoodings","html_url":"https://github.com/mgoodings","followers_url":"https://api.github.com/users/mgoodings/followers","following_url":"https://api.github.com/users/mgoodings/following{/other_user}","gists_url":"https://api.github.com/users/mgoodings/gists{/gist_id}","starred_url":"https://api.github.com/users/mgoodings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgoodings/subscriptions","organizations_url":"https://api.github.com/users/mgoodings/orgs","repos_url":"https://api.github.com/users/mgoodings/repos","events_url":"https://api.github.com/users/mgoodings/events{/privacy}","received_events_url":"https://api.github.com/users/mgoodings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T02:56:42Z","updated_at":"2018-02-06T04:14:41Z","closed_at":null,"author_association":"NONE","body":"I cannot get environment variable substitution to work inside of the environment block at the top of the pipeline.yml after upgrading my Agent.\r\n\r\nAt the step level it seems to be working fine however it's necessary for me to use it at the environment block so all subsequent steps have the environment variables applied to them on execution.\r\n\r\nThis is using Agent v3.0-beta.38\r\n\r\n![screen shot 2018-02-06 at 1 52 08 pm](https://user-images.githubusercontent.com/1767585/35839524-f8386012-0b44-11e8-9272-e715291d9dc9.png)\r\n\r\nThe same pipeline.yml running on Agent v3.0-beta.19\r\n\r\n![screen shot 2018-02-06 at 1 54 12 pm](https://user-images.githubusercontent.com/1767585/35839582-485b2598-0b45-11e8-8046-9d87cbf687b4.png)\r\n\r\n```\r\nenv:\r\n  ACCOUNT: \"${ACCOUNT?is not set. Please specify an account}\"\r\n  ENVIRONMENT: \"${ENVIRONMENT?is not set. Please specify an environment}\"\r\n  BUILD_NUMBER: \"${BUILDKITE_BUILD_NUMBER}\"\r\n\r\nsteps:\r\n  - name: \":docker: Build ${ENVIRONMENT}\"\r\n    command: \".buildkite/steps/build\"\r\n```"},"comment":{"url":"https://api.github.com/repos/buildkite/agent/issues/comments/363305747","html_url":"https://github.com/buildkite/agent/issues/647#issuecomment-363305747","issue_url":"https://api.github.com/repos/buildkite/agent/issues/647","id":363305747,"user":{"login":"lox","id":15758,"avatar_url":"https://avatars1.githubusercontent.com/u/15758?v=4","gravatar_id":"","url":"https://api.github.com/users/lox","html_url":"https://github.com/lox","followers_url":"https://api.github.com/users/lox/followers","following_url":"https://api.github.com/users/lox/following{/other_user}","gists_url":"https://api.github.com/users/lox/gists{/gist_id}","starred_url":"https://api.github.com/users/lox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lox/subscriptions","organizations_url":"https://api.github.com/users/lox/orgs","repos_url":"https://api.github.com/users/lox/repos","events_url":"https://api.github.com/users/lox/events{/privacy}","received_events_url":"https://api.github.com/users/lox/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T04:14:41Z","updated_at":"2018-02-06T04:14:41Z","author_association":"CONTRIBUTOR","body":"Hey, sorry you're having problems @mgoodings. Let's figure out what is happening here. Do you happen to know what agent you were on before?"}}
{"actor":{"display_login":"lox"}}