{"action":"opened","issue":{"url":"https://api.github.com/repos/digiU-DigitalPolice/digitalpolice-api/issues/15","repository_url":"https://api.github.com/repos/digiU-DigitalPolice/digitalpolice-api","labels_url":"https://api.github.com/repos/digiU-DigitalPolice/digitalpolice-api/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/digiU-DigitalPolice/digitalpolice-api/issues/15/comments","events_url":"https://api.github.com/repos/digiU-DigitalPolice/digitalpolice-api/issues/15/events","html_url":"https://github.com/digiU-DigitalPolice/digitalpolice-api/issues/15","id":155234961,"number":15,"title":"Fail build on low code coverage","user":{"login":"pubsy","id":3882455,"avatar_url":"https://avatars.githubusercontent.com/u/3882455?v=3","gravatar_id":"","url":"https://api.github.com/users/pubsy","html_url":"https://github.com/pubsy","followers_url":"https://api.github.com/users/pubsy/followers","following_url":"https://api.github.com/users/pubsy/following{/other_user}","gists_url":"https://api.github.com/users/pubsy/gists{/gist_id}","starred_url":"https://api.github.com/users/pubsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubsy/subscriptions","organizations_url":"https://api.github.com/users/pubsy/orgs","repos_url":"https://api.github.com/users/pubsy/repos","events_url":"https://api.github.com/users/pubsy/events{/privacy}","received_events_url":"https://api.github.com/users/pubsy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-17T11:16:31Z","updated_at":"2016-05-17T11:16:31Z","closed_at":null,"body":"As a developer I want the build to fail in case code coverage is lower than pre-configured threshold.\r\n\r\nAcceptance criteria:\r\n\r\n- [ ] Maven build should fail in case code coverage is lower than current code coverage levels. (Current levels: methods: 71%, lines: 70%, conditionals: 31%).\r\n- [ ] A clear message should be logged in case of build failure for the reason of low code coverage.\r\n- [ ] [Jenkins build](http://162.211.230.155:8181/job/digitalpolice-java) should fail on low code coverage."}}