Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (22 loc) · 709 Bytes

bitbucket.md

File metadata and controls

24 lines (22 loc) · 709 Bytes

Bitbucket

[
    {
        "method": "POST",
        "path": "/bitbucket-commit",
        "command": "echo New commit from $COMMIT_AUTHOR_NAME: $COMMIT_MESSAGE",
        "parseJson": [
            {
                "query": "payload.push.changes.0.commits.0.message",
                "variable": "COMMIT_MESSAGE"
            },
            {
                "query": "payload.push.changes.0.commits.0.author.user.display_name",
                "variable": "COMMIT_AUTHOR_NAME"
            }
        ]
    }
]