pipeline { agent any environment { DOCKERHUB_REPO = "vipin2025devops/myapp" IMAGE_TAG = "${env.BUILD_NUMBER}" } stages { stage('Checkout') { steps { checkout scm } } // Build, push, deploy stages... } post { always { echo "Pipeline finished: ${currentBuild.fullDisplayName}" } } }