My problem is as follows:
up until now I used Jenkins SCM Polling to check for changes in Production Branches twice a day - but I want to use Azure Devops (on prem 2020) to check for changes, and start a Pipeline if changes occurred, something along those lines:
schedules:
- cron: '5 13/12 * * *' # cron syntax defining a schedule in UTC time
displayName: 'Automatic Deployment'
branches:
include:
- develop
- support
- patch
always: false
Jenkins had a very practical possibility to SCM Poll over a time`period:
cron: 'H H(11-14),H(20-23) * * *' would hash the branch name to have the same branch always SCM poll at the same time(s) for both builds which is practical because starting at the exactly same times presents with issues regarding my resource locking.
(Some resources would be released rather quickly so there would be no waiting if they aren't triggered synchronously)
The only possibility that I see is using Azure Pipelines Expressions due to the fact when they are being resolved.
Is there any possibility to hash some form of inputstring and map it to an array of values?
Do I have to make a feature request for AZP2020 or is there some form of workaround I could use so the develop/support/patch branches can be polled over a two or three hour period?