{"action":"opened","issue":{"url":"https://api.github.com/repos/cider-ci/cider-ci_demo-project-bash/issues/1","labels_url":"https://api.github.com/repos/cider-ci/cider-ci_demo-project-bash/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cider-ci/cider-ci_demo-project-bash/issues/1/comments","events_url":"https://api.github.com/repos/cider-ci/cider-ci_demo-project-bash/issues/1/events","html_url":"https://github.com/cider-ci/cider-ci_demo-project-bash/issues/1","id":59629480,"number":1,"title":"upload tree attachment demo","user":{"login":"eins78","id":134942,"avatar_url":"https://avatars.githubusercontent.com/u/134942?v=3","gravatar_id":"","url":"https://api.github.com/users/eins78","html_url":"https://github.com/eins78","followers_url":"https://api.github.com/users/eins78/followers","following_url":"https://api.github.com/users/eins78/following{/other_user}","gists_url":"https://api.github.com/users/eins78/gists{/gist_id}","starred_url":"https://api.github.com/users/eins78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eins78/subscriptions","organizations_url":"https://api.github.com/users/eins78/orgs","repos_url":"https://api.github.com/users/eins78/repos","events_url":"https://api.github.com/users/eins78/events{/privacy}","received_events_url":"https://api.github.com/users/eins78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T11:33:20Z","updated_at":"2015-03-03T11:33:20Z","closed_at":null,"body":"I tried to do it with `curl` but it is not quite right yet. In the end the `tree_attachments` config was the way to go, just rescuing my curl snippet here:\r\n\r\n```bash\r\ncurl -v --anyauth --user $CIDER_CI_USERNAME:$CIDER_CI_PASSWORD --insecure -X PUT --upload-file $FILENAME ${CIDER_CI_API_URL}tree-attachments/$CIDER_CI_TREE_ID/$FILENAME\r\n```"}}