{"action":"created","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/1708","labels_url":"https://api.github.com/repos/gocd/gocd/issues/1708/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/1708/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/1708/events","html_url":"https://github.com/gocd/gocd/issues/1708","id":122120686,"number":1708,"title":"Possible Caching Issue with config.xml","user":{"login":"benzvan","id":7143239,"avatar_url":"https://avatars.githubusercontent.com/u/7143239?v=3","gravatar_id":"","url":"https://api.github.com/users/benzvan","html_url":"https://github.com/benzvan","followers_url":"https://api.github.com/users/benzvan/followers","following_url":"https://api.github.com/users/benzvan/following{/other_user}","gists_url":"https://api.github.com/users/benzvan/gists{/gist_id}","starred_url":"https://api.github.com/users/benzvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzvan/subscriptions","organizations_url":"https://api.github.com/users/benzvan/orgs","repos_url":"https://api.github.com/users/benzvan/repos","events_url":"https://api.github.com/users/benzvan/events{/privacy}","received_events_url":"https://api.github.com/users/benzvan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gocd/gocd/labels/bug","name":"bug","color":"FF4444"},{"url":"https://api.github.com/repos/gocd/gocd/labels/pipeline%20configuration","name":"pipeline configuration","color":"72DCB2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-14T20:09:39Z","updated_at":"2015-12-16T21:46:15Z","closed_at":null,"body":"A few times now I have made changes to pipeline configuration, executed the pipeline, and had the old configuration be the one that is executed. I suspect there is some issue with Go using a cached version of the pipeline configuration instead of the updated version. The instance today was:\r\n\r\n1) Add environment variable to pipeline GRACEFUL_DEPLOY=true\r\n2) Execute pipeline. Console output shows \"[go] setting environment variable 'GRACEFUL_DEPLOY' to value ' ' \" rather than \"true\"\r\n3) Double-check pipeline configuration. Environment variable shows it is set correctly\r\n4) Check admin -> config.xml which also shows it is set correctly.\r\n5) Re-execute pipeline. Output still shows \"[go] setting environment variable 'GRACEFUL_DEPLOY' to value ' ' \""},"comment":{"url":"https://api.github.com/repos/gocd/gocd/issues/comments/165259148","html_url":"https://github.com/gocd/gocd/issues/1708#issuecomment-165259148","issue_url":"https://api.github.com/repos/gocd/gocd/issues/1708","id":165259148,"user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T21:46:15Z","updated_at":"2015-12-16T21:46:15Z","body":"Could [this](https://www.go.cd/documentation/user/15.3.0/introduction/concepts_in_go.html#environment_variables) be where you saw it? It's in 15.3 documentation."}}