KBEC-00341 - How to pass parameters to dsl script?

Article ID:360032826952
1 minute readKnowledge base

You need to use double quotes and escape the "JSON internal" ones.

So something like the following should work on Windows:

ectool evalDsl --dslFile file.groovy --parameters "{\"name\":\"value\"}"

Applies to

  • Product versions: CloudBees CD (CloudBees Flow) 6.0 or later

  • OS versions: Windows