Gist for https://youtu.be/XM0nuRJMglI
pipeline {
    agent any
    stages {
        stage('Hello') {
            steps {
                echo 'this is the echo step'
            }
            post {
                success {
                    echo 'this is the stage post message'
                }
            }
        }
    }
}
pipeline {
    agent any
    stages {
        stage('Hello') {
            steps {
                echo 'this is the echo step'
            }
            post {
                success {
                    echo 'this is the stage post success message'
                }
            }
        }
    }
    post {
        success {
            echo 'this is the overall post success message'
        }
        failure {
            echo 'this is the overall post failure message'
        }
    }
}
pipeline {
    agent any
    stages {
        stage('Hello') {
            steps {
                echo 'this is the echo step'
            }
            post {
                success {
                    echo 'this is the stage post success message'
                }
            }
        }
    }
    post {
        success {
            echo 'this is the overall post success message'
        }
        failure {
            echo 'this is the overall post failure message'
        }
        cleanup {
            echo 'this is the overall post cleanup message'
        }
    }
}
pipeline {
    agent any
    stages {
        stage('Hello') {
            steps {
                sh 'false'
            }
            post {
                success {
                    echo 'this is the stage post success message'
                }
            }
        }
    }
    post {
        success {
            echo 'this is the overall post success message'
        }
        failure {
            echo 'this is the overall post failure message'
        }
        cleanup {
            echo 'this is the overall post cleanup message'
        }
    }
}