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

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

Have more questions?


Please sign in to leave a comment.