Issue
I have one Timer trigger Azure function which runs on each 10 mins, cron is 0 */10 * * * *
I want to make this cron configurable from Azure release pipeline while deployment.
I have added the cron value in library variable like below,
I have used the same library variable in App settings of release pipeline.
If I try to deploy, it is showing the error in log like below.
I understood the error. The error is because during deployment the corn is splitted like below. But not sure how to solve the error so that the corn will not be splitted. Find the below log from release log in bold.
Trying to update App Service Application settings. "CornValue":"0","":"*"
Solution
The issue is solved and able to inject the value in from Pipeline as well.
Need to add double quotes for the value of cron in release pipeline, then the cron value will be put as is, it will not be splitted
Answered By - Abhishek Answer Checked By - Candace Johnson (WPSolving Volunteer)