{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vso-agent/issues/97","labels_url":"https://api.github.com/repos/Microsoft/vso-agent/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vso-agent/issues/97/comments","events_url":"https://api.github.com/repos/Microsoft/vso-agent/issues/97/events","html_url":"https://github.com/Microsoft/vso-agent/issues/97","id":108561014,"number":97,"title":"Detecting a build is running on vso agent","user":{"login":"johnkattenhorn","id":616249,"avatar_url":"https://avatars.githubusercontent.com/u/616249?v=3","gravatar_id":"","url":"https://api.github.com/users/johnkattenhorn","html_url":"https://github.com/johnkattenhorn","followers_url":"https://api.github.com/users/johnkattenhorn/followers","following_url":"https://api.github.com/users/johnkattenhorn/following{/other_user}","gists_url":"https://api.github.com/users/johnkattenhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/johnkattenhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnkattenhorn/subscriptions","organizations_url":"https://api.github.com/users/johnkattenhorn/orgs","repos_url":"https://api.github.com/users/johnkattenhorn/repos","events_url":"https://api.github.com/users/johnkattenhorn/events{/privacy}","received_events_url":"https://api.github.com/users/johnkattenhorn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-27T21:06:45Z","updated_at":"2015-10-27T12:23:33Z","closed_at":"2015-10-27T12:23:33Z","body":"I'm following this article here and I'm getting an issue with this which suggest the build conditions are no longer valid for VSO in order to detect it's running on VSO.\r\n\r\nhttp://blogs.msdn.com/b/davidhardin/archive/2013/01/18/building-and-packaging-virtual-applications-within-azure-projects.aspx\r\n\r\nIs it possible to detect that a build is running in VSO in a way I can modify the work in the article to make sure the logic works ?"}}