Open nhershko opened 4 years ago
@nhershko can you give an example of what you'd like to use?
I would like to have few execution parameters that will be used at pre_test (hooks) or the test itself.
something like --foo=bar (copied from #1006) or db_enaled etc.
In Jenkins I can configure it without changing the code.
@nhershko All slash configuration values can be override from command-line using the -o
flag (see overriding configuration docs).
If you extend slash configuration with your own configuration, you'll be able to override it as well.
In addition, if you want to have a specific flag name (in your above comment --foo
), you can do it by using Cmdline
in your configuration (see example here ).
@ayalash , thanks for your replay. In that case I'll have to had that new configuration at my local config file, right? I would like to avoid it because I don't want to keep slash config file at my repo.
Hi, It's appear that slash is not allowing users to configure custom variables via command line. When running via execution engine as Jenkins this is very essential. Do I missed something or it is deliberately blocked?
Thanks, N.