I have a long-running DevOps pipeline that sets up a complex environment every morning.
It has a parameter; let's call it "Version."
I need to schedule the pipeline to run three times each morning with Version values 1, 2, and 3 automatically.
Looking through the triggers, neither a schedule trigger nor a pipeline trigger seems to allow to pass a parameter value.
Is there a way to do that? Important is that they run independently of each other. Each execution takes between 30 and 60 minutes. So running them in a loop one after each other is not an option.
This is what my YAML code currently looks like:
trigger: none
pr: none
schedules:
- cron: 0,5,10 12 * * mon,tue,wed,fri
displayName: Scheduled most mornings
branches:
include:
- CIBranch
always: true
parameters:
- name: Version
type: string
default: '3'