{"action":"opened","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/2194","repository_url":"https://api.github.com/repos/gocd/gocd","labels_url":"https://api.github.com/repos/gocd/gocd/issues/2194/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/2194/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/2194/events","html_url":"https://github.com/gocd/gocd/issues/2194","id":155568077,"number":2194,"title":"A problem should be reported to the user when a triggered build encounters a broken (Git) material (invalid branch)","user":{"login":"MartinAhrer","id":611673,"avatar_url":"https://avatars.githubusercontent.com/u/611673?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinAhrer","html_url":"https://github.com/MartinAhrer","followers_url":"https://api.github.com/users/MartinAhrer/followers","following_url":"https://api.github.com/users/MartinAhrer/following{/other_user}","gists_url":"https://api.github.com/users/MartinAhrer/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinAhrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinAhrer/subscriptions","organizations_url":"https://api.github.com/users/MartinAhrer/orgs","repos_url":"https://api.github.com/users/MartinAhrer/repos","events_url":"https://api.github.com/users/MartinAhrer/events{/privacy}","received_events_url":"https://api.github.com/users/MartinAhrer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-18T18:17:58Z","updated_at":"2016-05-18T18:17:58Z","closed_at":null,"body":"##### Issue Type\r\n\r\n- Bug Report\r\n\r\n##### Summary\r\n\r\nGo should report an error when trying to build a (Git) branch that does not exist (has been deleted)\r\n\r\n###### Basic environment details\r\n\r\n```\r\nGo Server Version:\t16.3.0(3183-60d6fd31f00527da00f2affdd8f7f7732e7be103)\r\nJVM version:\t1.7.0_95\r\nOS Information:\tLinux 4.4.8-boot2docker\r\nUsable space in artifacts repository:\t13 GB\r\nDatabase schema version:\t1503002\r\n```\r\n\r\n###### Additional Environment Details\r\n\r\n<!-- More environment details captured from the support API or other sources can be shared here -->\r\n\r\n##### Steps to Reproduce\r\n\r\n1. Setup a Git material with a branch \r\n2. Initial build works\r\n3. Delete the branch from the repository\r\n4. Trigger Build\r\n5. Go will not schedule a build but will also not report the broken material configuration\r\n\r\n##### Expected Results\r\nGo should report a problem to the user\r\n\r\n##### Actual Results\r\nNothing happens\r\n"}}