我想使用Azure DevOps中的管道执行“调度刷新”,但是我找不到执行该过程的任何引用或文档。我有一个想法,就是使用Azure DevOps中的管道从Stack question中的注释之一执行“分派刷新”。
非常感谢您的帮助。
要在Azure Devops中使用dispatch
,请首先使用Command line
任务执行命令:
npm install -g botdispatch
安装完成后,您可以运行refresh命令:
dispatch refresh [options]
dispatch refresh --publishToStaging true --useAllTrainingData true
dispatch refresh --bot c:\src\bot\testbot.bot --secret <your_bot_file_secret>
如果您还不熟悉如何为机器人服务设置CI / CD,则可以关注此博客:Setting up a Build and Release Pipeline for Azure Bot Service using Azure DevOps
由于您没有提供太多有关自己的困惑的详细信息,如果这些内容无济于事,请随时发表评论。