Azure DevOps CI/CD not deploying my pipeline triggers in an Active state

ぃ、小莉子 提交于 2021-01-28 14:00:01

问题


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:


回答1:


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


来源:https://stackoverflow.com/questions/62327263/azure-devops-ci-cd-not-deploying-my-pipeline-triggers-in-an-active-state

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!