URL – https://docs.cloudbees.com/docs/cloudbees-cd-api/latest/flow-api/dslabout
From the command-line interface
Use the evalDsl command to evaluate and run a DSL script. See the command evalDsl for a list of the supported arguments.
These ectool examples show how to evaluate a DSL script.
When specifying the DSL text, enter ectool evalDsl <dsl>. For example:
$ ectool evalDsl "project 'My WAR file' "
When specifying the path to the DSL script on the client, enter evalDsl --dslFile <dslFile>. For example:
$ ectool evalDsl --dslFile c:/dslScripts/myWarFile.dsl
$ ectool evalDsl --dslFile c:/dslScripts/myWarFile.dsl
136 ectool evalDsl dsl --describe 1
138 ectool evalDsl getProcedure --describe 1
141 ectool evalDsl --dslFile pro.groovy
148 ectool evalDsl --dslFile pro.groovy
149 vi pro.groovy
150 ectool evalDsl --dslFile pro.groovy
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024