Dynamic environment variables in the config file not working in ubuntu based build agents #250
Replies: 9 comments
-
Beta Was this translation helpful? Give feedback.
-
@NowinskiK .. but my value isnt empty .. ##[error]PowerShell exited with code '1'. The same task can be passing here , when run on a windows agent with everything remaining same VERBOSE: Properties: annotations type typeProperties |
Beta Was this translation helpful? Give feedback.
-
Can you attach both files of Linked Services? |
Beta Was this translation helpful? Give feedback.
-
@NowinskiK { sql_ls_amie_amhdb |
Beta Was this translation helpful? Give feedback.
-
@NowinskiK ... any work around for this ? |
Beta Was this translation helpful? Give feedback.
-
I'm on holiday right now. I will back to this as soon as I can. |
Beta Was this translation helpful? Give feedback.
-
@NowinskiK .. i have been still unable to find a work around for this , would you be having ideas ? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I don't have too much capacity now, so we must ask someone from the community to investigate this issue deeper. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Env variables in config variables not working in ubuntu build agents .
Getting the error
Validation of config file completed. Update-PropertiesForObject: /root/.local/share/powershell/Modules/azure.datafactory.tools/0.95.1/private/Update-PropertiesFromFile.ps1:75 Line | 75 | … $null = Update-PropertiesForObject -o $_ -action $action -path $p … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'value' because it is an | empty string.
To Reproduce
Using this config file
Your script to reproduce the behaviour:
Expected behaviour
Config file should be used to paramterise the json files
Version of PowerShell module of: latest
Beta Was this translation helpful? Give feedback.
All reactions