I'm using a Python script task of type 'file' in my Azure DevOps Yaml pipeline. I need to use the variables that I defined in my Variable Group in the Python file. The following is my task on Azure devops yaml pipeline.
- task: PythonScript@0
displayName: 'Run a Python script'
inputs:
scriptPath: 'pythonTest.py'
Any advise on how I can achieve this?
Thanks!