{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/245","labels_url":"https://api.github.com/repos/docker/swarm/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/245/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/245/events","html_url":"https://github.com/docker/swarm/issues/245","id":54330182,"number":245,"title":"Swarm/docker version conflict","user":{"login":"alktlr","id":1221900,"avatar_url":"https://avatars.githubusercontent.com/u/1221900?v=3","gravatar_id":"","url":"https://api.github.com/users/alktlr","html_url":"https://github.com/alktlr","followers_url":"https://api.github.com/users/alktlr/followers","following_url":"https://api.github.com/users/alktlr/following{/other_user}","gists_url":"https://api.github.com/users/alktlr/gists{/gist_id}","starred_url":"https://api.github.com/users/alktlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alktlr/subscriptions","organizations_url":"https://api.github.com/users/alktlr/orgs","repos_url":"https://api.github.com/users/alktlr/repos","events_url":"https://api.github.com/users/alktlr/events{/privacy}","received_events_url":"https://api.github.com/users/alktlr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-14T14:49:55Z","updated_at":"2015-01-16T01:41:14Z","closed_at":"2015-01-16T01:41:14Z","body":"Yet another issue with [Jenkins Docker plugin] (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin). The version number in /version is the swarm version number where the docker plugin expect it to be the docker version number. It is possible to set the swarm version to SwarmVersion and pass-through the docker version.\r\n\r\nDocker plugin exception\r\nCaused by: java.lang.NumberFormatException: For input string: \"swarm/0\"\r\n\tat java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)\r\n\tat java.lang.Integer.parseInt(Integer.java:449)\r\n\tat java.lang.Integer.parseInt(Integer.java:499)\r\n\tat com.nirima.docker.client.model.Version.getVersionComponents(Version.java:45)\r\n\tat com.nirima.jenkins.plugins.docker.DockerCloud$DescriptorImpl.doTestConnection(DockerCloud.java:353)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n\tat java.lang.reflect.Method.invoke(Method.java:597)\r\n\tat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\n\tat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\n\tat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\n\tat org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)\r\n\t... 56 more"}}