pipeline { agent any options { timestamps(); ansiColor('xterm') } stages { stage('Build') { steps { sh 'echo "Build..."' } } stage('Test') { steps { sh 'echo "Test..."' } } } post { always { cleanWs() } } }