Skip to content

Last build break notificationΒ #32

@kosssi

Description

@kosssi

Hello,

I used Drone plugin for sending Matrix notifications but it's breaking since last build when this pull request "(maint) move to harness.drone.io" is merged.

My configuration:

- name: notify
  image: plugins/matrix
  settings:
    homeserver: https://***.***
    roomid: "***:***.***"
    userid: "***:***.***"
    accesstoken:
      from_secret: MATRIX_ACCESSTOKEN
  when:
    status: [ failure ]

the error:

time="2023-01-16T13:37:20Z" level=error msg="execution failed: failed to authenticate user: contents=[123 34 101 114 114 99 111 100 ...] msg=Failed to POST JSON to /_matrix/client/r0/login code=400 wrapped=M_INVALID_PARAM: Bad parameter: password"

This error is print from here but I don't understand normally, UserID and AccessToken are not empty...

I found a solution with specified sha256 image but I thinks it's not a good solution ;) :

image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f

I'm alone?

PS: Akismet hidden my post on https://community.harness.io/ because I would like have more than 2 links in my post... πŸ˜’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions