Azure DevOps CI/CD不在活动状态下部署管道触发器 [英] Azure DevOps CI/CD not deploying my pipeline triggers in an Active state

查看:52
本文介绍了Azure DevOps CI/CD不在活动状态下部署管道触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的开发ADF的管道触发器处于活动状态,并设置为每小时运行一次.使用devops回购协议CI/CD,我从我们的开发人员部署了这些触发器来测试ADF环境.在我的测试环境中成功创建了管道触发器,但是它们是不活动的.为什么这些没有以开始"状态出现.ARM模板将触发器显示为开始"

My dev ADF has pipeline triggers that are Active and set to run every hour. Using devops repos & CI/CD, I deployed these triggers from our dev to test ADF environments. The pipeline triggers were successfully created in my test environment, but they are inactive. Why are these not coming over in a 'Started' status. The ARM template shows the trigger as Started

这些需要在部署后自动打开,因为我无权手动将其打开.我无法确定这是一个错误还是缺少在部署中启用这些功能的东西.请查看屏幕截图:

These need to be turned on automatically after deployment as I don't have rights to turn these on manually. I can't tell if this is a bug or if I'm missing something to turn these on within the deployment. Please see screenshots:

推荐答案

我们有相同的问题,并且正在Azure Devops中使用Powershell步骤来启用触发器:

We have the same issue and are using a powershell step in Azure Devops to enable the trigger:

Start-AzureRmDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryResourceName -Name $PipelineTriggerName -Force

这篇关于Azure DevOps CI/CD不在活动状态下部署管道触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆