Triggering Azure DevOps builds based on changes to sub folders

You can do like below Create variables based on your microservices with the values “False” E.g,MicroserviceAUpdated= “False”,MicroserviceBUpdated= “False” etc., Add a Powershell script task at the begin of your build definition. The powershell script will do the following: Get the changeset/commit in the build to check which files are changed. Update the MicroserviceAUpdated variable to … Read more

How to Increase/Update Variable Group value using Azure Devops Build Definition?

You can overwrite/update the value of the variables by using the logging command to set the variables again in Azure Devops Build pipleline: Write-Host “##vso[task.setvariable variable=testvar;]testvalue” To increase the value dynamically, you need to use the token $(Rev:.r). You can custom the variables based on the $(Build.BuildNumber) or $(Release.ReleaseName)as they will increase the value dynamically… … Read more

How to modify Azure DevOps release definition variable from a release task?

You can use the REST API (Definitions – Update) to update the value of the release definition variable from a release task. Go to the Agent Phase and select Allow Scripts to Access OAuth Token. See Use the OAuth token to access the REST API Grant Project Collection Build Service (xxx) account the edit release … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)