Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Cloudbees CD RO Tutorials: DSL

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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x