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.dslCode language: JavaScript (javascript)
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.groovyCode language: CSS (css)
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals