Skip to content

build.branch/message/author not working #33

@Rinma

Description

@Rinma

Hi.

I have the following problem with build variables not showing in the message.

Config:

message: >
      {{#success build.status}}
        build {{build.number}} succeeded.
      {{else}}
        build {{build.number}} failed.  
        Changes: {{build.branch}} / {{build.message}} from {{build.author}}.  
        See: {{build.link}}
      {{/success}}

Message on discord:

build 126 failed.
  Changes:  /  from .
  See: https://drone.example.org/Group/Project/126

The job on drone:
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions