{"action":"created","issue":{"url":"https://api.github.com/repos/fsharp/FAKE/issues/2069","repository_url":"https://api.github.com/repos/fsharp/FAKE","labels_url":"https://api.github.com/repos/fsharp/FAKE/issues/2069/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/FAKE/issues/2069/comments","events_url":"https://api.github.com/repos/fsharp/FAKE/issues/2069/events","html_url":"https://github.com/fsharp/FAKE/pull/2069","id":352970413,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTQ2NTg1","number":2069,"title":"Teamcity build parameters","user":{"login":"vbfox","id":131878,"node_id":"MDQ6VXNlcjEzMTg3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/131878?v=4","gravatar_id":"","url":"https://api.github.com/users/vbfox","html_url":"https://github.com/vbfox","followers_url":"https://api.github.com/users/vbfox/followers","following_url":"https://api.github.com/users/vbfox/following{/other_user}","gists_url":"https://api.github.com/users/vbfox/gists{/gist_id}","starred_url":"https://api.github.com/users/vbfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbfox/subscriptions","organizations_url":"https://api.github.com/users/vbfox/orgs","repos_url":"https://api.github.com/users/vbfox/repos","events_url":"https://api.github.com/users/vbfox/events{/privacy}","received_events_url":"https://api.github.com/users/vbfox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-22T14:08:19Z","updated_at":"2018-08-23T07:54:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/fsharp/FAKE/pulls/2069","html_url":"https://github.com/fsharp/FAKE/pull/2069","diff_url":"https://github.com/fsharp/FAKE/pull/2069.diff","patch_url":"https://github.com/fsharp/FAKE/pull/2069.patch"},"body":"### Description\r\n\r\nTeamCity exposes a lot of build parameters that FAKE 4 made accessible but the class and some associated methods were made internal (and unused) in FAKE 5\r\n\r\nThis PR add them back with a slighty modified API.\r\n\r\nThe public API surface change is :\r\n\r\n```fsharp\r\nmodule Fake.BuildServer.TeamCity =\r\n+\tmodule BuildParameters =\r\n+\t\tgetAllSystem: unit -> Map<string, string>\r\n+\t\ttryGetSystem: string -> string option\r\n+\t\tgetAllConfiguration: unit -> Map<string, string>\r\n+\t\ttryGetConfiguration: string -> string option\r\n+\t\tgetAllRunner: unit -> Map<string, string>\r\n+\t\ttryGetRunner: string -> string option\r\n+\t\tgetAll: unit -> Map<string, string>\r\n+\t\ttryGet: string -> string option\r\n+\ttype FileChangeType = // DU\r\n+\ttype FileChange = // Record\r\n\ttype Environment =\r\n+\t\tBranch: string option\r\n+\t\tBranchDisplayName: string option\r\n+\t\tIsDefaultBranch: string option\r\n+\t\tCheckoutDirectory: string option\r\n+\t\tChangedFiles: FileChange  list option\r\n+\t\tRecentlyFailedTests: string list option\r\n\r\n```\r\n\r\nIt add build parameters for people who need them (We query all VCS properties that way for example) and exposes some common ones in `Environment`.\r\n\r\n*PS: Lot of things can be done via build parameters, they contains for example the PATH of all versions of visual studio installed that are detected by TC*"},"comment":{"url":"https://api.github.com/repos/fsharp/FAKE/issues/comments/415325922","html_url":"https://github.com/fsharp/FAKE/pull/2069#issuecomment-415325922","issue_url":"https://api.github.com/repos/fsharp/FAKE/issues/2069","id":415325922,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTMyNTkyMg==","user":{"login":"vbfox","id":131878,"node_id":"MDQ6VXNlcjEzMTg3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/131878?v=4","gravatar_id":"","url":"https://api.github.com/users/vbfox","html_url":"https://github.com/vbfox","followers_url":"https://api.github.com/users/vbfox/followers","following_url":"https://api.github.com/users/vbfox/following{/other_user}","gists_url":"https://api.github.com/users/vbfox/gists{/gist_id}","starred_url":"https://api.github.com/users/vbfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbfox/subscriptions","organizations_url":"https://api.github.com/users/vbfox/orgs","repos_url":"https://api.github.com/users/vbfox/repos","events_url":"https://api.github.com/users/vbfox/events{/privacy}","received_events_url":"https://api.github.com/users/vbfox/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T07:54:32Z","updated_at":"2018-08-23T07:54:32Z","author_association":"CONTRIBUTOR","body":"No idea why travis didn't update the GH status but the build is successful"}}
{"actor":{"display_login":"vbfox"}}