pipeline { agent any stages { stage('Checkout') { steps { checkout scm } } } post { failure { echo "Build Failed" } } }