pipeline { agent any stages { stage('Checkout') { steps { echo 'Checkout completed' } } stage('Static-test') { steps { echo 'Running static tests on code' } } stage('Build') { steps { sh 'echo "Building the code"' } } stage('Deploy') { steps { echo 'Deploying into environment' } } } }