繁体   English   中英

使用 Azure Devops CI/CD 管道在 Azure Cosmos DB 和 MongoDB 中运行 a.sh 文件

[英]Run a .sh file in Azure Cosmos DB with MongoDB using Azure Devops CI/CD pipeline

我想在每次运行管道时运行存储在 Azure Cosmos DB 上的存储库中的 a.sh 文件,通过 Azure Devops CI/CD 管道运行 MongoDB

我完成了 Azure CI/CD 管道中已经建议的任务,但找不到与我的问题相关的任务

通常.sh是一个 shell/bash 脚本,所以 bash 任务最好。

在 Azure 管道 YAML 中:

- task: Bash@3
  inputs:
    targetType: filePath
    filePath: path/to/your/script.sh

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM