Page 1 of 1

Error using /param switch in Azure DevOps

Posted: Fri Nov 08, 2019 10:22 pm
by qa-auto
Hi, Ranorexers,

I want to use a global param switch in ADO, but get this error below.

I CAN run the same /param line from the command line.

Has anyone seen this before?

I'd appreciate the help.

Lorinda

NOTE: training.<company> is not literal. I just removed our company name.

Code: Select all

##[section]Starting: Run Ranorex
==============================================================================
Task         : Command Line
Description  : Run a command line with arguments
Version      : 1.1.3
Author       : Microsoft Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
==============================================================================
##[command]"C:\azure_agent\_work\2\s\SmokeTest\bin\Debug\SmokeTest.exe /param:gVarTestDomain=https://training.<company>.com" /junit /agent:qa-ranorex
The filename, directory name, or volume label syntax is incorrect.
##[error]Process completed with exit code 1.
##[section]Finishing: Run Ranorex

Re: Error using /param switch in Azure DevOps

Posted: Fri Nov 08, 2019 10:25 pm
by qa-auto
Nevermind...I didn't have the switch in the Arguments field. :roll: