{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/18","repository_url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin","labels_url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/18/comments","events_url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/18/events","html_url":"https://github.com/jenkinsci/sauce-ondemand-plugin/pull/18","id":157187742,"number":18,"title":"Configurable retry feature when Sauce Connect fails to start","user":{"login":"diemol","id":5992658,"avatar_url":"https://avatars.githubusercontent.com/u/5992658?v=3","gravatar_id":"","url":"https://api.github.com/users/diemol","html_url":"https://github.com/diemol","followers_url":"https://api.github.com/users/diemol/followers","following_url":"https://api.github.com/users/diemol/following{/other_user}","gists_url":"https://api.github.com/users/diemol/gists{/gist_id}","starred_url":"https://api.github.com/users/diemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diemol/subscriptions","organizations_url":"https://api.github.com/users/diemol/orgs","repos_url":"https://api.github.com/users/diemol/repos","events_url":"https://api.github.com/users/diemol/events{/privacy}","received_events_url":"https://api.github.com/users/diemol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-27T11:35:24Z","updated_at":"2016-06-01T10:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/pulls/18","html_url":"https://github.com/jenkinsci/sauce-ondemand-plugin/pull/18","diff_url":"https://github.com/jenkinsci/sauce-ondemand-plugin/pull/18.diff","patch_url":"https://github.com/jenkinsci/sauce-ondemand-plugin/pull/18.patch"},"body":"Hi,\r\n\r\nThis PR tries to address the issues mentioned here:\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-30064\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-33303\r\n\r\nI have implemented this retry feature that allows the plugin to attempt to start Sauce Connect up to N times when it fails to start.\r\nIt is configurable by number of times, and number of seconds to wait between retries.\r\nWhen no configuration or invalid values are provided, then it falls back to the current behaviour. \r\nIf the number of retries is configured, but the number of seconds is not, 5 seconds are used by default.\r\n\r\nPlease review and comment if some improvements are needed. I think I touched only the necessary code."},"comment":{"url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/comments/222950850","html_url":"https://github.com/jenkinsci/sauce-ondemand-plugin/pull/18#issuecomment-222950850","issue_url":"https://api.github.com/repos/jenkinsci/sauce-ondemand-plugin/issues/18","id":222950850,"user":{"login":"diemol","id":5992658,"avatar_url":"https://avatars.githubusercontent.com/u/5992658?v=3","gravatar_id":"","url":"https://api.github.com/users/diemol","html_url":"https://github.com/diemol","followers_url":"https://api.github.com/users/diemol/followers","following_url":"https://api.github.com/users/diemol/following{/other_user}","gists_url":"https://api.github.com/users/diemol/gists{/gist_id}","starred_url":"https://api.github.com/users/diemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diemol/subscriptions","organizations_url":"https://api.github.com/users/diemol/orgs","repos_url":"https://api.github.com/users/diemol/repos","events_url":"https://api.github.com/users/diemol/events{/privacy}","received_events_url":"https://api.github.com/users/diemol/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T10:13:04Z","updated_at":"2016-06-01T10:13:04Z","body":"Basically, I added it because we (Zalando) are located in Germany, and Sauce Labs in the US. \r\n\r\nThis brings some extra latency and some other network issues due to the distance. When this happens, it is usually an isolated issue that gets fixed just by triggering the build again, nevertheless this is quite annoying for our teams when they run their tests.\r\n\r\nSince this issue pops up when using the Jenkins plugin, we thought it might be the place to add it here. \r\n\r\nLet's wait until your Product Owner is back then, I hope that it can get added. "}}
{"actor":{"display_login":"diemol"}}