Azure / azure-sdk-for-cpp

This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
174 stars 124 forks source link

Is it possible to add support for multiple `/azp` commands in a single comment? #4246

Open antkmsft opened 1 year ago

antkmsft commented 1 year ago

Each time I need to execute 5 pipelines, I leave 5 comments, one for each pipeline. And then I get 5 bot responses back, and it clutters the PR comments.

Would it be possible to add support for me to specify multiple commands in a single comment, say, each starting with a newline? Or, comma-separated? Or maybe there can be a new command for triggering multiple pipelines?

I would also ask to add a something like /beQuietIfSuccessful switch so that I don't get 5 comments back from the bot. I'll know that if it is quiet, it must've started all the pipelines that I asked for (from what I remember, it's always been so). And if I don't see them popping up in a reasonable time, I'll retry without the /quiet switch and will know that there is a problem that the bot is not responding, and I'll act on it. But I think all will be fine 99% of time.

Alternatively, if I could get a single comment from the azp bot after I asked it to run 5 pipelines via single comment, I can live without /quiet switch.

cc @Jinming-Hu

ahsonkhan commented 1 year ago

cc @danieljurek, @weshaggard

weshaggard commented 1 year ago

The /azp command is handled by Azure DevOps so we cannot really add that support.

Instead, I would ask the question why are you manually triggering 5 pipelines? Should we be adding trigger paths to those pipelines to have them trigger automatically based on changes?