About Abbot
Abbot is a programmable bot that turns your team chat into a shared command center. We handle all the boilerplate of building and running these conmmands so that you can focus on making tools that help you ship faster.
We built Abbot because we saw the power of this style of work (called ChatOps), when we worked at GitHub. ChatOps made it possible for GitHub to work productively without meetings, while globally distributed. We think it's a pretty great way to work, so we made it easy to use in Slack, Discord, and Microsoft Teams.
You can read more about Abbot here, check out our blog, or take a look at some of the other cool packages available as a one-click install from Abbot's Package Directory.
README
Secrets
accesstoken
- Your personal access token (PAT) from Azure DevOps.
Variables
org
- Your organization in Azure DevOps where your pipeline resides.
project
- The project in Azure DevOps where your pipeline resides (i.e. must be inside the org).
Additional Configuration
In the SelectPipeline()
method, set each case
name and the id
used inside the case to call the TriggerPipeline(int)
method. For example:
case "<your app name>":
await TriggerPipeline(<the id of the pipeline that builds this application>);
break;
If you can't find your pipeline id, navigate to the pipeline in your browser and look at the URL. It should have a query parameter with something like: definitionId=xx
.
Known limitations:
- This only supports pipelines living in a single org/project currently.
Usage
@az pipeline app1 - Triggers the pipeline for app1