Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →A Jenkins Post-Build action is a task executed after the build has completed. When you don't want to care whether a build stage succeeded or failed, but you still want something to run automatically afterward, you use post-build actions.
pipeline {
agent any
stages {
stage('Post build Actions') {
steps {
echo "hi my name is sandeep"
}
}
}
post {
success {
echo "This is post build success"
}
}
}
pipeline {
agent any
stages {
stage('Post build Actions') {
steps {
eco "hi my name is sandeep" // intentionally invalid command
}
}
}
post {
failure {
echo "This is post build failure"
}
}
}
Since eco is not a valid command, the stage fails — and the failure block automatically prints its message.
pipeline {
agent any
stages {
stage('Post build Actions Success') {
steps { echo "hi this is sandy" }
}
stage('Post build Actions') {
steps { eco "hi my name is sandeep" }
}
}
post {
always {
echo "This is post build always"
}
}
}
No matter if the stages above succeed or fail, the always block executes every single time — useful for cleanup steps, notifications, or logging.
Hands-on live training, real projects, and placement support — become job-ready in DevOps.
Enroll in DevOps Training →