{"action":"created","issue":{"url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/33","repository_url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter","labels_url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/33/comments","events_url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/33/events","html_url":"https://github.com/juhovh/mocha-jenkins-reporter/pull/33","id":135436702,"number":33,"title":"add screenshot option","user":{"login":"aaronbriel","id":5034032,"avatar_url":"https://avatars.githubusercontent.com/u/5034032?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbriel","html_url":"https://github.com/aaronbriel","followers_url":"https://api.github.com/users/aaronbriel/followers","following_url":"https://api.github.com/users/aaronbriel/following{/other_user}","gists_url":"https://api.github.com/users/aaronbriel/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbriel/subscriptions","organizations_url":"https://api.github.com/users/aaronbriel/orgs","repos_url":"https://api.github.com/users/aaronbriel/repos","events_url":"https://api.github.com/users/aaronbriel/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbriel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-22T14:37:32Z","updated_at":"2016-03-04T15:51:56Z","closed_at":"2016-03-04T08:56:29Z","pull_request":{"url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/pulls/33","html_url":"https://github.com/juhovh/mocha-jenkins-reporter/pull/33","diff_url":"https://github.com/juhovh/mocha-jenkins-reporter/pull/33.diff","patch_url":"https://github.com/juhovh/mocha-jenkins-reporter/pull/33.patch"},"body":"Jenkins screenshot attachments can be written to the report to allow for a screenshot attachment in each test failure. Simply specify a `reporterOption` of `spec` or `loop`. This writes a `system-out` xml element to the JUnit report, leveraging the `Publish test attachments` feature of the `JUnit Attachments Plugin`.\r\n\r\n`spec` will write the full path of the screenshot with a filename consisting of \"classname+test.title+extension\". `loop` pulls and sorts all screenshots of a particular extension from `JUNIT_REPORT_PATH` and writes them in order according to the names of the files pulled.\r\n\r\nScreenshot extension defaults to \".png\", but can also be passed in with the `imagetype` reporterOption"},"comment":{"url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/comments/192330837","html_url":"https://github.com/juhovh/mocha-jenkins-reporter/pull/33#issuecomment-192330837","issue_url":"https://api.github.com/repos/juhovh/mocha-jenkins-reporter/issues/33","id":192330837,"user":{"login":"aaronbriel","id":5034032,"avatar_url":"https://avatars.githubusercontent.com/u/5034032?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbriel","html_url":"https://github.com/aaronbriel","followers_url":"https://api.github.com/users/aaronbriel/followers","following_url":"https://api.github.com/users/aaronbriel/following{/other_user}","gists_url":"https://api.github.com/users/aaronbriel/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbriel/subscriptions","organizations_url":"https://api.github.com/users/aaronbriel/orgs","repos_url":"https://api.github.com/users/aaronbriel/repos","events_url":"https://api.github.com/users/aaronbriel/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbriel/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T15:51:56Z","updated_at":"2016-03-04T15:51:56Z","body":"Looks good on several test runs!  Thank you!!"}}