How to pass command line arguments into gauge tests?

187 Views Asked by At

I want pass a command line argument is_triggered=true as part of running Jenkins gauge tests run.

How can I pass the argument when I am doing gauge run specs --env TEST?

1

There are 1 best solutions below

0
Michael Boiman On

I am not sure but I think u can't. What I am doing is to start with

gauge -Penv="keys" 

and before I start the test I am writing in the env file my env:

echo -e is_triggered = true > env/keys/default.properties