Open mrWiecek opened 1 year ago
Using Azure DevOps build task During validation in Azure Devops Build pipelines following error occurs:
=== Validating other rules ... Checking duplicated names... Checking names of datasets, pipelines, dataflows... Checking: Global parameter names... === Validating config files ... Checking config file: C:\agents\vsts-agent-win-x64-2.194.0\_work\13\s\ADF\deployment\config.json... Config file: C:\agents\vsts-agent-win-x64-2.194.0\_work\13\s\ADF\deployment\config.json ERROR: Cannot bind argument to parameter 'value' because it is an empty string. ============================================================================================= ADF # of Errors: 1 Test code failed. # of Warnings: 0 =============================================================================================
=== Validating config files ... Checking config file: C:\agents\vsts-agent-win-x64-2.194.0\_work\13\s\ADF\deployment\config.json... Config file: C:\agents\vsts-agent-win-x64-2.194.0\_work\13\s\ADF\deployment\config.json *** Properties modification report *** Added Removed Updated ----- ------- ------- 0 0 32 ============================================================================================= ADF # of Errors: 0 Test code completed (126 objects). # of Warnings: 0 =============================================================================================
"adf-dev": [ { "name": "$.properties.globalParameters.environment.value", "value": "$Env:env", "action": "update" },
When I try to add any character to value of parameter value everything work as aspected. Let's add space as prefix. It might not be working solution for some cases:
"adf-dev": [ { "name": "$.properties.globalParameters.environment.value", "value": " $Env:env", "action": "update" },
Thanks, I will check that in spare time.
Current Behavior:
Using Azure DevOps build task During validation in Azure Devops Build pipelines following error occurs:
Expected Behavior:
Steps To Reproduce:
Workaround:
When I try to add any character to value of parameter value everything work as aspected. Let's add space as prefix. It might not be working solution for some cases: