简体   繁体   English

如何在 Azure DevOps 中定义 blob 存储触发器以创建新版本?

[英]How to define a blob storage trigger in Azure DevOps to create a new release?

I would like to create a new release in Azure DevOps whenever my blob storage container updated.每当我的 blob 存储容器更新时,我都想在 Azure DevOps 中创建一个新版本。

I mean, I upload a few files to blob storage and when it's finished I want to start a release in DevOps automatically.我的意思是,我将一些文件上传到 blob 存储,完成后我想在 DevOps 中自动开始发布。

Normally we can define several triggers for starting a release.通常我们可以定义几个触发器来启动一个发布。 for example when we get a new build pipeline.例如,当我们获得一个新的构建管道时。 But I want to trigger it with a blob storage.但我想用 blob 存储触发它。

I couldn't find any solution for this problem in DevOps.我在 DevOps 中找不到针对此问题的任何解决方案。 Can someone help me with this please?有人可以帮我吗?

It looks like it isn't possible to do straightforward so can be used the workaround:看起来不可能做到直截了当,因此可以使用解决方法:

  1. Create Azure Logic App or Azure Function that triggered by Azure Blob Storage Upload-event创建由 Azure Blob 存储上传事件触发的Azure 逻辑应用程序Azure 函数
  2. In the event handler need to initiate start new release by call Azure DevOps Services REST API .在事件处理程序中需要通过调用Azure DevOps Services REST API来启动启动新版本。

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

相关问题 如何在Azure功能中定义Azure Blob存储触发器的路径 - How to define Path for Azure Blob Storage trigger in Azure Function 如何使用Azure Blob存储中的现有VHD创建新VM? - How to create new VM using the existing VHD in the Azure Blob storage? 使用Azure CLI使用Blob存储触发器创建Azure函数 - Create azure function with blob storage trigger using Azure CLI 如何在 Azure 上创建新的构建代理以与我的私有 DNS 和 Azure DevOps 上的发布管道进行通信? - How can I create a new build agent on Azure to communicate with my private DNS and the release pipline on Azure DevOps? Azure - 为存储容器中的每个新 blob 触发 Databricks 笔记本 - Azure - Trigger Databricks notebook for each new blob in Storage container 如何使用Azure函数时间触发器获取所有Blob存储(新的或更新的Blob) - How to get all blob storage(new or updated one) using azure functions time trigger 如何在 Azure 逻辑应用程序中触发基于事件的 blob 存储触发器? - How to trigger event based trigger for blob storage in Azure logic app? 如何使用 jquery 触发 Azure Devops 发布管道 - How to trigger Azure Devops release pipeline using jquery 如何在 azure blob 存储中创建空文件夹 - How to create empty folder in azure blob storage 如何在Azure Blob存储ZRS中定义第二个DataCenter? - How to define the second DataCenter in Azure Blob Storage ZRS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM