You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a basic Roger server set up according to the installation section of the readme. I can trigger a build using the build API endpoint pointing to my GitHub repo. The build completes and is pushed to my local Docker registry successfully, however there is an error at the end of the build log:
info: Pushed image of build <build name> to the registry at http://127.0.0.1:5000
info: Finished build <build name> in a few seconds #SWAG
info: Sending notifications for <build name>
error: Error sending notifications for <build name> ("Cannot read property 'push' of undefined")
TypeError: Cannot read property 'push' of undefined
at /src/src/notifications.js:33:22
at forOwn (/src/node_modules/lodash/dist/lodash.js:2106:15)
at Function.forEach (/src/node_modules/lodash/dist/lodash.js:3303:9)
at Object.notifications.trigger (/src/src/notifications.js:31:5)
at /src/src/builder.js:209:21
at _fulfilled (/src/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/src/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/src/node_modules/q/q.js:816:13)
at /src/node_modules/q/q.js:624:44
at runSingle (/src/node_modules/q/q.js:137:13)
I have Roger configured with docker-compose and a config.yml file:
I've got a basic Roger server set up according to the installation section of the readme. I can trigger a build using the
build
API endpoint pointing to my GitHub repo. The build completes and is pushed to my local Docker registry successfully, however there is an error at the end of the build log:I have Roger configured with docker-compose and a
config.yml
file:My GitHub token has the permissions
public_repo
andnotifications
, but GitHub is reporting that it has never been used.What could be the cause of this error?
The text was updated successfully, but these errors were encountered: