Error using /param switch in Azure DevOps

Ask general questions here.
qa-auto
Posts: 55
Joined: Mon Aug 05, 2019 10:46 pm

Error using /param switch in Azure DevOps

Post by qa-auto » Fri Nov 08, 2019 10:22 pm

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

qa-auto
Posts: 55
Joined: Mon Aug 05, 2019 10:46 pm

Re: Error using /param switch in Azure DevOps

Post by qa-auto » Fri Nov 08, 2019 10:25 pm

Nevermind...I didn't have the switch in the Arguments field. :roll: