I have an ANT build which creates files (zip, jar, etc). I wish to push these files to my github repo's "Downloads" area, either via Tasks available to me with ANT (I've tried scp to no avail), via Jenkins (I've tried "Publish over SSH", to no avail) or some other means.
Thanks for guidance.
That means using the GitHub V3 API in order to:
See those ruby scripts as a practical example of how this API is used:
"lib/octokit/client/downloads.rb
".
If you need to do it from ant though, you could consider the HTTP-Post task of ant-contrib.
Or have your ant script calls commands like "HTTPie: cURL for Humans"
Or use directly Jenkins, as in "Connect Github to secured Jenkins via HTTP Post-Commit Hook"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With