Azure DevOps pipeline with a command line parameter


I am trying to send a token from within my azure pipeline as follows:

  • task: katalonTask@0
    version: ‘7.2.4’
    executeArgs: ‘katalonc -noSplash -runMode=console -retry=0 -testSuitePath=“Test Suites\xxx” -executionProfile=“default” -browserType=“Chrome” -apiKey=“xxx” -g_token="${{parameter.dtoken}}"’

I have a global variable under my default profile as “g_token” = ‘’

But when I am executing my tests, I am getting blank value for g_token. Please share if there is anything else that i should be doing here.

This is resolved, I needed to name my Global variable to just token instead of g_token.