Open olofmattsson-inriver opened 10 months ago
@olofmattsson-inriver Checked the pipeline schedules, the schedule was queued but never triggered, this is a service issue.
@xuzhang3 I know but Azuer Devops support claims that since it works when the schedule is created from the UI it is not a service problem. But I will continue to poke at them.
@olofmattsson-inrive Not sure why the run was scheduled but not triggered, but from the result this should be a service bug
Adding the issue created with Microsoft Development Community: https://developercommunity.visualstudio.com/t/Scheduled-runs-are-only-executed-after-s/10584928
Community Note
Terraform (and Azure DevOps Provider) Version
terraform -v Terraform v1.7.1 on linux_amd64
Affected Resource(s)
azuredevops_build_definition
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The scheduled run should be executed according to schedule.
Actual Behavior
The pipeline is created and the schedule is visible in Azure DevOps web interface but the run is not executed.
Steps to Reproduce
terraform apply
Important Factoids
If I update the schedule after the initial apply (move the start_minute a few minutes into the future) and apply the schedule will work. Feels like there is a difference in how the build definition in created versus updated.
References
671