pipeline { agent { docker { image 'python:3' } } stages { stage('Build') { steps { sh 'pip install black' } } stage('Test') { steps { echo 'Testing..' sh 'black ./' } } stage('Deploy') { steps { echo 'Deploying....' } } } }