Within UCB, view your app. Click ‘Notifications’, then ‘Add New’ and enter your app URL with ‘/build’ appended. E.g. ‘http://[appurl]/build/’
Use a tool like Request Bin to test web hooks from UCB, ontain the payload and test requests to ‘/build/’.
Notes
If you use Slack, integrate UCB and HockeyApp to be notified when a new build is ready and has been pused to HockeyApp. See screenshot above.
You don’t need to setup the app on HockeyApp, if you upload the binary it will automatically create a new app instance.
Configure HockeyApp to automatically notify users after the binary has uploaded. See the ‘notify’ variable within the ‘uploadToHockeyApp()’ function. HockeyApp API
Todo
Clean up and comment codebase.
Populate HockeyApp release notes with Git commit message.
Add logging feature to show builds processed and deployed.
Integrate job system to manage/prioritise jobs and view jobs in progress.
Sure, this could easily be adapted to deploy to another service providing they have an API that allows you to upload the binary.
HockeyApp is great. It will also group crashes then create tickets in your bug tracker system automatically.
Although, our favourite feature in the HockeyApp SDK is the ability to notify and update apps within the app itself.
Thank you for this and providing it on GitHub. We used Hockeyapp on our last project and it was a great help.
However, I’m not able to get this properly setup. I keep getting an error when I test the Webhook request.
017-10-23T11:46:49.044198+00:00 app[web.1]: TypeError: Cannot read property 'api_self' of undefined
2017-10-23T11:46:49.044201+00:00 app[web.1]: at /app/index.js:56:37
2017-10-23T11:46:49.044202+00:00 app[web.1]: at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
2017-10-23T11:46:49.044203+00:00 app[web.1]: at next (/app/node_modules/express/lib/router/route.js:131:13)
2017-10-23T11:46:49.044204+00:00 app[web.1]: at /app/node_modules/body-parser/lib/read.js:129:5
2017-10-23T11:46:49.044208+00:00 app[web.1]: at invokeCallback (/app/node_modules/raw-body/index.js:262:16)
2017-10-23T11:46:49.044208+00:00 app[web.1]: at done (/app/node_modules/raw-body/index.js:251:7)
2017-10-23T11:46:49.044209+00:00 app[web.1]: at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:307:7)
2017-10-23T11:46:49.044210+00:00 app[web.1]: at emitNone (events.js:86:13)
2017-10-23T11:46:49.044210+00:00 app[web.1]: at IncomingMessage.emit (events.js:185:7)
2017-10-23T11:46:49.044211+00:00 app[web.1]: at endReadableNT (_stream_readable.js:974:12)