This CLI tool simplifies integrating Microsoft Teams bot functionality into GitLab CI piplines.
- Clone repository
make
export WEBHOOK_URL=https://teamschannelwebhookurl/
gitlab-teams-bot --title "Card Title" --description "HTML for the card body"
- By default, the following environment variables will be used:
WEBHOOK_URL
the URL Microsoft Teams webhook URLCI_JOB_STATUS
the GitLab CI job statusCI_JOB_URL
the URL to the failed GitLab CI job
- If you wish you can override various CLI options to further customise