{"action":"created","issue":{"url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/7","labels_url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/7/comments","events_url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/7/events","html_url":"https://github.com/rmohr/chroot-plugin/issues/7","id":57325016,"number":7,"title":"Extract *.zip/*.tar.gz issues","user":{"login":"hkettler","id":10960475,"avatar_url":"https://avatars.githubusercontent.com/u/10960475?v=3","gravatar_id":"","url":"https://api.github.com/users/hkettler","html_url":"https://github.com/hkettler","followers_url":"https://api.github.com/users/hkettler/followers","following_url":"https://api.github.com/users/hkettler/following{/other_user}","gists_url":"https://api.github.com/users/hkettler/gists{/gist_id}","starred_url":"https://api.github.com/users/hkettler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkettler/subscriptions","organizations_url":"https://api.github.com/users/hkettler/orgs","repos_url":"https://api.github.com/users/hkettler/repos","events_url":"https://api.github.com/users/hkettler/events{/privacy}","received_events_url":"https://api.github.com/users/hkettler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T14:50:31Z","updated_at":"2015-02-18T09:31:09Z","closed_at":null,"body":"Hi,\r\n\r\n1. \"Download URL for binary archive\" does not work: \r\n<pre>Unpacking http://server.net/releases/myos1.0.tgz to /var/lib/jenkins/tools/org.jenkinsci.plugins.chroot.tools.ChrootToolset/myos on Jenkins\r\nFATAL: Failed to copy /var/lib/jenkins/tools/myos to /var/lib/jenkins/workspace/chroot_test2/myos/myos\r\n[...]\r\nCaused by: java.io.FileNotFoundException: /var/lib/jenkins/tools/myos (Is a directory)</pre>\r\nEither the plugin wants the tool tarball as an argument (it's a file), or the copy method is not sufficient (has to be recursive then).\r\n\r\n2. If giving a 'Subdirectory of extracted archive', the plugin behaves strangely: It will always unpack the tarball given in the subdir, even though the tarball from the url was successfully downloaded (in case it was newer/differs). I 've tested with a newer tarball at the url including more packages than the local one from the subdir. The packages are not available in the build.\r\n\r\n3. Help text of 'Subdirectory of extracted archive' is misleading. Clearly, the plugin is searching for the tarball, not the \"unpacked archive\". Also not mentioned: the required md5 file.\r\n\r\nRegards, Holger\r\n"},"comment":{"url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/comments/74835741","html_url":"https://github.com/rmohr/chroot-plugin/issues/7#issuecomment-74835741","issue_url":"https://api.github.com/repos/rmohr/chroot-plugin/issues/7","id":74835741,"user":{"login":"corecache","id":736666,"avatar_url":"https://avatars.githubusercontent.com/u/736666?v=3","gravatar_id":"","url":"https://api.github.com/users/corecache","html_url":"https://github.com/corecache","followers_url":"https://api.github.com/users/corecache/followers","following_url":"https://api.github.com/users/corecache/following{/other_user}","gists_url":"https://api.github.com/users/corecache/gists{/gist_id}","starred_url":"https://api.github.com/users/corecache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corecache/subscriptions","organizations_url":"https://api.github.com/users/corecache/orgs","repos_url":"https://api.github.com/users/corecache/repos","events_url":"https://api.github.com/users/corecache/events{/privacy}","received_events_url":"https://api.github.com/users/corecache/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T09:31:09Z","updated_at":"2015-02-18T09:31:09Z","body":"@rmohr I noticed this issue too, do you mind throwing a look into this one? Thanks"}}