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

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

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


Get Started Now!

Jenkins Tutorials: Scripted Pipeline jenkinsfile example


Pipeline: Basic Steps

  • catchError: Catch error and set build result to failure
  • deleteDir: Recursively delete the current directory from the workspace
  • dir: Change current directory
  • echo: Print Message
  • error: Error signal
  • fileExists: Verify if file exists in workspace
  • isUnix: Checks if running on a Unix-like node
  • mail: Mail
  • pwd: Determine current directory
  • readFile: Read file from workspace
  • retry: Retry the body up to N times
  • sleep: Sleep
  • stash: Stash some files to be used later in the build
  • step: General Build Step
  • timeout: Enforce time limit
  • tool: Use a tool from a predefined Tool Installation
  • unstable: Set stage result to unstable
  • unstash: Restore files previously stashed
  • waitUntil: Wait for condition
  • warnError: Catch error and set build and stage result to unstable
  • withEnv: Set environment variables
  • wrap: General Build Wrapper
  • writeFile: Write file to workspace
  • archive: Archive artifacts
  • getContext: Get contextual object from internal APIs
  • unarchive: Copy archived artifacts into the workspace
  • withContext: Use contextual object from internal APIs within a block

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