pipeline { agent any stages { stage('Build') { steps { echo 'Building...' python3.7 -m poetry install } } stage('Test') { steps { python3.7 -m tox -e py37 } } stage('Deploy') { steps { echo 'Deploying....' } } } }